Sort by Column

Posted by: manoel10 on 3 August 2017, 4:03 pm EST

  • Posted 3 August 2017, 4:03 pm EST

    Hi all,

    Is it possible to order a grid by column?

    Thanks!
  • Replied 3 August 2017, 4:03 pm EST

    Hello,

    If you are referring to sort a column values then it is possible. You can either do this using the pivotview or in the code behind using the SetSortOrder method:
    http://helpcentral.componentone.com/nethelp/ActiveAnalysis2WebHelp//GrapeCity.ActiveAnalysis~GrapeCity.ActiveAnalysis.Layout.ILayoutActions~SetSortOrder.html

    For example take a look at the attached screenshot. In this view the Country attribute is Sorted in ascending order using the "Order Count" measure. This is applied by using the more sort options from the context menu and choosing the option "Field" to select the measure which will decide the sort order. I hope this clarifies.

    Regards,
    Sankalp

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels