PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
is there a way to assign different row height (e.g. to to prevent cutting of multiline text) ?
Also it would be great to span cells (e.g. for displaying subheaders using full width of grid)
Have added a new cell type to both EsGRID and ExGRID (#egrid_CustomTextDialog / #ExGRID_CUSTOMTEXTDIALOG).
These cells can be used to display static text alongside a 'selector button' which the user can click (or double click the entire cell) in order to fire an appropriate notification to a CellCallback function. That is, the text and the button reside within the same cell (much like the various 'chooser' type cells which our tBOX property box control offer).
The idea is that when the user clicks an appropriate 'selector button', the client application will then throw up some dialog or other appropriate to the cell in question. When the dialog has run it's course then the client app would make any appropriate changes to the underlying grid cell.
Have added a new demo to the EsGRID control to show how to make use of these new cells. The demo offers one way of allowing users to edit dates etc.
Note that any modifications made to these new cells are not reported in the #egrid_CellUpdated / #ExGRID_CELLUPDATED messages. This is because such cells are not edited directly by the user and the client app, through having thrown up a dialog in the first place, will already be aware of the changes made!
Regards.
Stephen.
I may look like a mule, but I'm not a complete ass.