FNC Data Grid using custom controls always use specific properties for values

I'm suffering with DataGrid, using some controls that have an "auto-bound" data, like TTMSFNCCustomCheckGroupPicker. As in the image below, it always take the value from "value" property, but i need to take another value. I already have implemented methods: OnCellEditSetData and OnCellEditGetData, but these methods are triggered before pass through the code in image (eg. set data). These methods should have a parameter called "Handled" .. then if handled, no value will be set or get from controls using rtti methods like below...

for now, i didn't find a way to work around that.

Observation. the image is from source code of DataGrid

Indeed you are correct. We'll add new events:

OnBeforeInplaceEditorSetValue
OnAfterInplaceEditorSetValue
OnBeforeInplaceEditorGetValue
OnAfterInplaceEditorGetValue

Next version of TMS FNC UI Pack will have this included.

1 Like