How to display value of TComboBox being hosted in TGrid?


In my earlier question, Add a TCombobox Column to a Firemonkey TGrid, @asd-tm responded with substantial coding for setting up an FMX TGrid to host TComboBox controls. At the end of our discussion, I said:

The currently selected value of the combobox is only shown when the
cell is actually selected, otherwise the cell just shows (record).

So the question is, how does one make the grid from that question display the value selected in the TComboBox, instead of the word “(record)”? What changes need to be made to that code?

Comments are closed.