Jump to content
uniGUI Discussion Forums
Sign in to follow this  
Wicket

TUnimDBGrid AutoWidth Columns

Recommended Posts

Hi,

 

I am in need of a  AutoWidth Columns for TUnimDBGrid. 

 

The reason, is that I often use TUnimDBGrid, for multi-selection and it looks untidy when two columns do not utilise the available width of the grid. Currently the column widths are hard coded to a value, which also does not work great for multi-device, as obviously the size of the screen would be different.

 

Ideally; to have a property that, when checked, would will fill the the whole width of the grid, with whatever columns are in the grid, e.g if we only have one column it takes the whole grid width. Much like the forcefit property on TUniDBGrid.

 

This property would need to take into account orientation changed, so if the device is turned the grid would need to 'resize' the columns accordingly. 

 

I couldn't find an elegant way of achieving this, so if someone has a work around I would be happy to use that, but I think it would be a nice addition to the mobile grid.

 

Thanks,

 

Dan

Share this post


Link to post
Share on other sites
Sign in to follow this  

×