Welcome Guest Search | Active Topics | Sign In | Register

Resize CustomColumn Controls with column resize? Options
DTU
Posted: Thursday, July 15, 2010 2:08:00 AM
Rank: Advanced Member
Groups: Member

Joined: 5/19/2010
Posts: 35
Hi,

I was just wondering if there was an easy way to resize controls in a custom column so that they always fill up the cell when the cell is resized?

Thanks in advance.
eo_support
Posted: Thursday, July 15, 2010 9:23:45 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

No. Unfortunately there isn't. The Grid can not automatically resize controls in a custom column correctly when there are multiple controls, in which case a layout manager would have to be implemented by the user, which still requires quite some user code.

Currently you can resize your controls in ClientSideBeginEdit handler. The controls will not auto-resize when you resize a column while the cell is in edit mode, however as long as you move to another cell, your ClientSideBeginEdit handler will be called again, then you can resize them to the correct size. If you must have the correct size all the time, you can set up a timer to check the column size and then resize your controls in the timer.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.