I am wondering how I detect that my grid has changed size, horizontally.
I have a grid that is defined as 100% of the width of its containing element.
Which is a RadDock.
I would like to react to size changes, so I can alter the contents of the CommandItem
to fit.
TIA
1 Answer, 1 is accepted
0
Sebastian
Telerik team
answered on 06 Jul 2011, 05:05 PM
Hi Tim,
To detect the change in the RadDockableObject width, consider intercepting the OnClientResizeStart or OnClientResizeEnd events of the dock (see this demo). Additionally, if you enabled column resizing for the grid, you can listen for the OnColumnResizing/OnColumnResized events of the control (see this demo).
Best regards,
Sebastian
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!