Refreshing only one row of a grid

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
developeradmin
Posts: 11
Joined: Tue 25 Mar 2008 09:55

Refreshing only one row of a grid

Post by developeradmin » Sat 12 Dec 2009 14:08

hi,
When binding data in the DevExpress grid , I want manually refresh only one record at the time delete, update record in the another form.
Is it possible to refresh only one record in the grid ?
or
Any way fast refresh or requery to entire dataset ?

Regards

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 14 Dec 2009 08:26

To refresh currect record you can use the TCustomDADataSet.RefreshRecord method.

developeradmin
Posts: 11
Joined: Tue 25 Mar 2008 09:55

Post by developeradmin » Mon 14 Dec 2009 11:26

Can I using same methot for deleted record?

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 14 Dec 2009 13:07

Yes, you can.

developeradmin
Posts: 11
Joined: Tue 25 Mar 2008 09:55

Post by developeradmin » Mon 14 Dec 2009 21:27

Thank you for answer
When I using TMSQuery component, refresh one record from binding grid.

Regards

Post Reply