grid and dataset questions

Hi


I'm new of livebinding and i have (of course) some problems :

1) I've a fmxgrid binded with FDQuery in datamodule and i need to modify records with old instructions like 
dstFoods.Edit();
dstFoods.FieldByName('Quantity').AsFloat:=1;
dstFoods.Post();

But i've some strange behaiviors on the grid : wrong records updated or duplicate records ... this is the rigth way to do this or i must take another way ? i already use BeginUpdate and EndUpdate..

2) I use FDQuery.Filter to select records but grid have often drawing problems AND is too slow to load records about 100 per selection ! I must use livegrid ?  i must use filter in another way ?

Thank u


 

Hi, 


1)It's unclear why this doesn't behave correctly. Are you able to reproduce these issues in TGrid as well?
2) for larger datasets, please use TTMSFMXLiveGrid.

Kind Regards, 
Pieter