1. #1
    Ext GWT Premium Member
    Join Date
    Jul 2008
    Posts
    29
    Vote Rating
    0
    leonate is on a distinguished road

      0  

    Default Multi-sort support

    Multi-sort support


    Hi,

    Is it possible to implement multi-sorting for table/grid columns in some way?

    This is a "must have" feature for any advanced data table/grid.

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    GXT (ExtGWT) has sort options for Table - you set them on the column.

    There is no Grid widget, are you working on ExtJS ??

  3. #3
    Ext GWT Premium Member
    Join Date
    Jul 2008
    Posts
    29
    Vote Rating
    0
    leonate is on a distinguished road

      0  

    Default


    Yes, there is a sort option but only for a single column.
    Check GXT API for SortInfo class - it contains sorting information only for one column.
    If I want to do multi-sort I need a list of columns which a user chose to sort. Also there should be some indication on table on screen showing to user information about sorted columns.
    And there should be a way to choose all columns needed to sort in order before sending request to server.

  4. #4
    Ext GWT Premium Member
    Join Date
    Jul 2008
    Posts
    29
    Vote Rating
    0
    leonate is on a distinguished road

      0  

    Default


    By Grid widget I meant the one from the GXT 1.1 demo preview. Looking at the demo it looks like there is still no way to do multi-sorting.

  5. #5
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Grid only supports single column sorting.

  6. #6
    Ext User
    Join Date
    May 2008
    Posts
    58
    Vote Rating
    0
    pillindra is on a distinguished road

      0  

    Default


    Will there be multi sort implementation for Grid and Table in future?