TeeGrid with TComboBox Column and LiveBindings

TeeGrid VCL / FMX for Embarcadero RAD Studio, Delphi, C++ Builder and Lazarus Free Pascal.
Post Reply
WilliE
Newbie
Newbie
Posts: 6
Joined: Tue Apr 03, 2018 12:00 am

TeeGrid with TComboBox Column and LiveBindings

Post by WilliE » Fri Feb 14, 2020 4:34 pm

Hello,
Is it possible to use your TeeGrid with a TComboBox Column and Livebinding? We tried different TGrids in our FMX project on android as target in Delphi 10.3.3. With grids from other vendors we have problems with TComboBox Column if we use LiveBindings.
We hope to use your very unsefull TeeGrid.


You’re sincerely

Willi Ebert

Marc
Site Admin
Site Admin
Posts: 1266
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: TeeGrid with TComboBox Column and LiveBindings

Post by Marc » Tue Feb 18, 2020 10:02 am

Hello Willi,

I've run a test to check it. Similar to the project linked here:

Code: Select all

https://github.com/Steema/TeeGrid/tree/master/demos/FireMonkey/Cell%20Editors
Assigning the data to a ClientDataset, the combo to possible field values and another component on the form with LiveBindings, linked to that same field. I can confirm that modifying the field value in the grid, via the combo, updates correctly the other livebinding component on the form.

Regards,
Marc Meumann
Steema Support

WilliE
Newbie
Newbie
Posts: 6
Joined: Tue Apr 03, 2018 12:00 am

Re: TeeGrid with TComboBox Column and LiveBindings

Post by WilliE » Tue Feb 18, 2020 3:03 pm

Hello Marc,
i use now FDMemTable insted of ClientDataSet. So far without any errors. But we have problems with the senility of the cell editing under Android.
We set:

TeeGrid1.Editing.DoubleClick := True;
TeeGrid1.Editing.AutoEdit:= True;
TeeGrid1.Editing.EnterKey:= NextRow;

But we have to make many "double-clicks" to enter the edit mode of one cell, and with enterkey nextrow the curser is still in the same row after editing.

You’re sincerely

Marc
Site Admin
Site Admin
Posts: 1266
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: TeeGrid with TComboBox Column and LiveBindings

Post by Marc » Fri Feb 21, 2020 4:29 pm

Hello Willi,

Thanks for the feedback. We'll run some tests.

Regards,
Marc
Steema Support

Post Reply