jQWidgets Forums

jQuery UI Widgets Forums Grid Defaul sorting is not working with custom sort

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • mukund
    Participant

    Hi,

    I am using custom sort for some columns and found that default sorting is not working with custom sort. I am using scope.source.sort = sortFunction; for my custom sorting. I want that when grid loads it should load with default sorting but when a user clicks on some column it initialize custom sort. My grid is getting loaded with default sorting but when i catch the click or columnclick event and initialize scope.source.sort = sortFunction; it first removes my default sorting and custom sort also doesn’t work. After first click when i click second time for sorting my custom sort works. Is there any way to make both type of sorting work together.

    Regards,
    Mukund Tiwari


    Peter Stoev
    Keymaster

    Hi Mukund,

    You cannot have default sorting and custom sorting in one Grid. You can have either Default Sorting or Custom Sorting.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.