[CLOSED] sorting a datagrid after render

  1. #1

    [CLOSED] sorting a datagrid after render

    Hello

    I need to sort a grid from a JSON file but I couldnt sort my JSON return, so, I want to know, if it is possible to sort the grid on a column after render and without action of any one.
    Last edited by Daniil; Sep 26, 2012 at 10:58 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please configure a DataSorter and place it into the Store Sorters collection.

    Example
    <ext:Store runat="server">
        <Model>
            <ext:Model runat="server">
                <Fields>
                    <ext:ModelField Name="test" />
                </Fields>
            </ext:Model>
        </Model>
        <Sorters>
            <ext:DataSorter Property="test" Direction="ASC" />
        </Sorters>
    </ext:Store>
  3. #3
    Thanks a lot
  4. #4
    Thanks a lot

Similar Threads

  1. [CLOSED] Toggle Render? Refresh Render?
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 08, 2011, 3:13 PM
  2. datagrid
    By grajaneesh in forum 1.x Help
    Replies: 1
    Last Post: Jul 12, 2010, 6:50 PM
  3. [CLOSED] Editable datagrid
    By Hari_CSC in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 28, 2010, 3:46 AM
  4. message comes twice at datagrid
    By sadeque in forum 1.x Help
    Replies: 2
    Last Post: Feb 02, 2010, 11:08 PM
  5. Edit button in datagrid
    By plykkegaard in forum 1.x Help
    Replies: 0
    Last Post: Feb 27, 2009, 8:31 PM

Posting Permissions