Sorting within Grid panel grouped records

  1. #1

    Sorting within Grid panel grouped records

    Hi,

    Scenario :- Having a grid panel with grouping to show employees previous activities. Grouping with some status(Grouping Field). I want to show the latest activity in the top. My BL layer will give resultset in that order. In the grid i have columns like name, createdDate, events, activity

    I want to show latest activity that group in top so i setted RemoteSort = true. it works fine otherwise if i not set this property it always displaying in ASC order

    Problem :- If i sort the column after loading it creates more grouped data in the grid panel.

    My req : Need grouped grid panel with latest activy desc order and sorting for individual columns within the group.

    Suggest me some info
  2. #2

    Solved

    hi,

    I found the solution we have to add GroupDir property to Store. which will sort the group in respective direction with the filed specfied in GroupField no need to give remortsort = true


    Ex.
    store.CustomConfig.Add(new ConfigItem("groupDir", "DESC", ParameterMode.Value)); or GroupDir="DESC"

    Thanks

Similar Threads

  1. Replies: 1
    Last Post: Jan 05, 2012, 2:16 PM
  2. Sorting In Grid Panel
    By hardik in forum 1.x Help
    Replies: 0
    Last Post: Apr 08, 2011, 4:02 AM
  3. [CLOSED] Grid Panel Filter and Sorting futures for Large data
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 16, 2010, 7:50 PM
  4. [CLOSED] How to add the records to grid panel dynamically?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 02, 2009, 6:41 AM
  5. Grouped grid very slow
    By testix in forum 1.x Help
    Replies: 3
    Last Post: Sep 19, 2009, 1:46 PM

Tags for this Thread

Posting Permissions