Mike Posted March 6, 2019 Share Posted March 6, 2019 Hi, How can the fieldname of a dbgrid column be retrieved via headerclick? Regards, Mike Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 7, 2019 Share Posted March 7, 2019 7 hours ago, Mike said: How can the fieldname of a dbgrid column be retrieved via headerclick? Hi, Sorry, for what purpose?! On the server side or the client side? Quote Link to comment Share on other sites More sharing options...
Mike Posted March 7, 2019 Author Share Posted March 7, 2019 Hi, On the client side. When clicked on a column header the column is sorted (via SQL). Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 7, 2019 Share Posted March 7, 2019 Hi, And what if you will use OnColumnSort, OnMultiColumnSort events for this? For example like in this demo: \FMSoft\Framework\uniGUI\Demos\Desktop\GridColumnSort Quote Link to comment Share on other sites More sharing options...
Mike Posted March 7, 2019 Author Share Posted March 7, 2019 Hi, Thanks. That solved it. Regards, Mike Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.