Jump to content


Photo

TUnimDBGrid AutoWidth Columns

TUnimDBGrid

  • Please log in to reply
No replies to this topic

#1 dan602

dan602

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 98 posts

Posted 30 May 2018 - 10:00 AM

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


  • 0





Also tagged with one or more of these keywords: TUnimDBGrid

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users