Sunday 24 September 2017

SPGridView Multi Column Filter and Sort

By default , the SPGridView doesn’t allow you to implement filters on multiple columns. Applied filter gets removed, if we apply filter on any other column. Similar, issues are there for sorting.


Points taken care in below code:

  •          Multi Column Filter/Sort
  •          Multiple SPGridViews on the same page
  •          Clear Filter only clears the filter on one column, rest all filters remain
  •          Clear Filter is enabled, for all filtered columns
  •          Incase of multiple SPGridViews on same page, cross sorting/filtering issue solved, even if column names are same.

No comments:

Post a Comment