alesf76 Posted August 6, 2018 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
Sherzod Posted August 6, 2018 Posted August 6, 2018 Hi, Have you seen this demo for example?: \FMSoft\Framework\uniGUI\Demos\Desktop\GridColumnSort Quote
eduardosuruagy Posted August 7, 2018 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
mhmda Posted August 7, 2018 Posted August 7, 2018 This might help you http://forums.unigui.com/index.php?/topic/6225-dbgrid-clientside-sorting/ Quote
JamesC Posted July 31, 2020 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
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.