Jump to content

konstantin@rockwelltrading.com

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

konstantin@rockwelltrading.com's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hi all. I have UniDBGrid in the app, utilizing FDQuery to retrieve the data. The grid is grouped by 1st column, so the Grouping is enabled. There is the property for the grid, named SortDescending. So in design mode, when i select TRUE, and run the app-it works fine, the grid is sorted by the grouped column in DESC order. The same if SortDescending=FALSE in design mode, then the running app is sorted ASC correctly. But when i'm trying to use this property in runtime, in the code-it doesnt affect any sorting, so it is always sorted as defined initially in design mode. Any solution how to switch grouped column sorting between ASC and DESC runtime? Any help appreciated!
×
×
  • Create New...