[CLOSED] Sorting gridpanel with Javascript

  1. #1

    [CLOSED] Sorting gridpanel with Javascript

    Hi,

    I would like to know how to sort a gridpanel with JavaScript.
    I try with C# and Direct Event but i can manage to get from which column the sort eventhas been fired.
    Thus i guess that i need to use Javascript to get the information.
    To be concrete i try to sort some data coming from a database by pages and i need to know from which column the event has been fired !

    Thanks
    Last edited by Daniil; Jan 22, 2014 at 2:39 AM. Reason: [CLOSED]
  2. #2
    Hi @timiteh,

    It looks you are looking for remote sorting.
    https://examples2.ext.net/#/GridPane.../DirectMethod/

    Sorting by column header click initiates a Store's load request with sorting parameters (the DataIndex of the clicked Column and the Direction of sorting).
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @timiteh,

    It looks you are looking for remote sorting.
    https://examples2.ext.net/#/GridPane.../DirectMethod/

    Sorting by column header click initiates a Store's load request with sorting parameters (the DataIndex of the clicked Column and the Direction of sorting).
    Thanks Daniil, it works.

Similar Threads

  1. [CLOSED] Gridpanel Custom Sorting
    By WHISHWORKS in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 22, 2013, 11:58 AM
  2. [CLOSED] Custom GridPanel Sorting
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Jun 10, 2013, 1:09 PM
  3. Gridpanel custom sorting
    By boris in forum 1.x Help
    Replies: 11
    Last Post: Aug 23, 2011, 2:50 PM
  4. [CLOSED] Disabled Sorting in GridPanel
    By csharpdev in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 22, 2010, 1:22 PM
  5. Problem with GridPanel sorting
    By magisystem in forum 1.x Help
    Replies: 3
    Last Post: Sep 09, 2010, 1:35 PM

Posting Permissions