This is a migrated thread and some comments may be shown as answers.

Resizing columns adjacent to invisible columns

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 23 Jun 2009, 12:52 PM
Hello,

I have an interesting issue here, perhaps a bug. Several days ago I submitted a post concerning the problems I was having implementing columns with dynamic visiblity properties--essentially a context menu that could toggle a columns IsVisible property on and off. I am happy (and very much grateful) to say that that issue was resolved quickly with Telerik's help and a software upgrade.

Unfortunately, recent discoveries have required me to remove this feature, and I hope that help I can find here will allow me to introduce it back in. My issue is with dynamic resizing columns. Feature requirements state that each column must be fully resizeable, which is a trivial problem with Silverlight. However, when this feature is coupled with columns that have their IsVisible properties set to false there are problems that arise. Basically, when a column is invisible, the visible column that would be to the left of the now invisible column cannot be resized manually. When you move your mouse to the columns edge, click, and drag to resize it, the column does not resize.

The reason for this can be discovered once you make the invisible column visible again. When this is done, the newly visible column has been resized, usually with odd or exagerated widths. In other words, when manual resizing of columns next to invisible columns occurs, it affects the invisible column instead of the visible one--presumably because the invisible column has been shrunk into the edge between its two neighbor columns (a width of zero, perhaps?), thus rendering the edges of its neighbors unreachable.

So this is the problem our program is facing.  I hope to find some useful advice and guidence on these boards. I can gladly say the help I have recieved thus far on these boards has been both prompt and useful.

Thanks to everyone for their time.

Philip Coffey

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 24 Jun 2009, 04:01 PM
Hello Philip,

This bug has been fixed in our Latest internal build - v. 2009.1.622 . The problem was that when a column becomes invisible its splitter didn't. So practically you were resizing the hidden column.

Please give it a try and let me know how it works.

Kind regards,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Philip
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or