alesf76 Posted August 6, 2018 Share Posted August 6, 2018 I've tried to find something in the forum and in the documentation, but I didn't found the answer: how can I make work the sorting of the columns ? If I click on one sortable column I get the grid refreshed but the sorting is not applied. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 6, 2018 Share Posted August 6, 2018 Hi, Have you seen this demo for example?: \FMSoft\Framework\uniGUI\Demos\Desktop\GridColumnSort Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted August 7, 2018 Share Posted August 7, 2018 Before I used this option to sort the columns but now I can not do this, has anything changed? function headerclick (ct, column, e, t, eOpts) { Frame.ClientDataSet.getStore (). Sort (column.dataIndex); } function store.afterCreate (sender) { sender.remoteSort = false; } Quote Link to comment Share on other sites More sharing options...
mhmda Posted August 7, 2018 Share Posted August 7, 2018 This might help you http://forums.unigui.com/index.php?/topic/6225-dbgrid-clientside-sorting/ Quote Link to comment Share on other sites More sharing options...
JamesC Posted July 31, 2020 Share Posted July 31, 2020 @Sherzod Thanks for your information about GridColumnSort demo. I studied this example and am wondering: Where are those data records coming from? Refer to other demos, there is one command for data records: UniMainModule.LoadClientFromStream(ClientDataSet1,'biolife.cds'); Thanks. 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.