grouping view sort or order

  1. #1

    grouping view sort or order

    i just want to ask if there is an immediate solution on how to change the sorting or ordering of the grid grouping view
  2. #2

    RE: grouping view sort or order

    Hi,

    Call the following store's function on client side


    sort( String fieldName, [String dir] ) : void
    Sort the Records. If remote sorting is used, the sort is performed on the server, and the cache is reloaded. If local sorting is used, the cache is sorted internally.
    Parameters:
    fieldName : String
    The name of the field to sort by.
    dir : String
    (optional) The sort order, "ASC" or "DESC" (case-sensitive, defaults to "ASC")
    Returns:
    void


    Also there is server side wrapper for that function

  3. #3

    RE: grouping view sort or order

    ok thanks, just another question. for the default sorting of the store, can i use the sortinfo property, i have not updated my coolite version in a while, is sortinfo a newly implemented property of the store?
  4. #4

    RE: grouping view sort or order

    hi there, right now it is not working out as intended. ok here is what i want to achieve, i have this grouping view which is group by lets say column A, but i want to be able to sort the grouping according to the values provided by column B. column A is the name of the header while column B provides the display order of the names. please help on how i can achieve that

Similar Threads

  1. [CLOSED] [1.0] Grouping view with Row Editor?
    By state in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Nov 02, 2011, 4:33 PM
  2. [CLOSED] [1.0] Grouping sort order
    By danielg in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 31, 2011, 3:54 PM
  3. [CLOSED] [1.0] Store sort and grouping
    By ljankowski in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 09, 2010, 1:17 PM
  4. [CLOSED] Sort, Grouping issues in GridPanel
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 07, 2009, 6:22 PM
  5. How to add grouping view from code behind
    By anand in forum 1.x Help
    Replies: 7
    Last Post: May 26, 2009, 11:34 AM

Posting Permissions