Jump to content


How to multi sort on NextDBGrid v6?

  • Please log in to reply
1 reply to this topic

#1 Bagong

  • Members
  • 34 posts

Posted 01 December 2021 - 04:19 AM

How to multi sort on NextDBGrid v6?

the same logic as sql multi sort / order

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,075 posts
  • Gender:Male

Posted 16 December 2021 - 01:38 PM



Please sorry for my delay,


Multisort is not automatic, but you can use help from your SQL engine to simply return SQL Query based on sorting.


First you need to set MultiSort property to True for the main control. 


Then, you can read following properties in event such as OnAfterSort, OnSortQuery etc.


   NextDBGrid61.Columns.MultiSortedCount; // Get total count

boki@bergsoft.net | LinkedIn Profile
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
BergSoft Facebook page
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users