Jump to content

Recommended Posts

Posted

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.

Posted
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;

}

  • 1 year later...
Posted

@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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...