crdbgrid filter

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
crownfield
Posts: 5
Joined: Sun 11 Oct 2009 01:07

crdbgrid filter

Post by crownfield » Tue 19 Oct 2010 23:43

after the user applies order and filter, how can the program determine the filter value.

I want to calculate the filtered sum of one field.

AndreyZ

Post by AndreyZ » Wed 20 Oct 2010 13:37

Hello,

You can use the CRDBGrid.Columns[0].FilterExpression and CRDBGrid.Columns[0].SortOrder properties to obtain filter value and sort order respectively. For more information please read CRControls Reference Manual.

Post Reply