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

[Solved] ColumnWidthChanged not fired on double click of gripper

1 Answer 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jerry Kurata
Top achievements
Rank 1
Jerry Kurata asked on 09 Sep 2010, 11:54 PM
Hi,

I have some code that needs to run when the user resizes a column.  In most cases the ColumnWidthchanged handler is run, but when I select the space in between the column and double click the gripper to autosize the column The ColumnWidthChanged event is not fired.  I understood from the documentation, http://www.telerik.com/help/silverlight/gridview-column-resize-event.html , that it should.

jerry

1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvyatko
Telerik team
answered on 10 Sep 2010, 09:28 AM
Hi Jerry Kurata,

ColumnWidthChanged event is not fired when doubleclick on a gripper since it the event arguments can pass only absolute values for column width. However, on double click the column width is changed to Auto, which cannot be expressed with absolute values.
In one of our next builds we will provide Additional properties that will pass GridViewColumnLength as parameters.

In order to track the column width changes I can suggest you the solution demonstrated in the attachment.

Kind regards,
Tsvyatko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Jerry Kurata
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or