Author Topic: Remove column and row grouping while export  (Read 341 times)

Digitalsoft

  • Pro OEM
  • Newbie
  • *
  • Posts: 49
    • View Profile
Remove column and row grouping while export
« on: January 18, 2023, 02:27:35 pm »
Is it possible to remove grouped columns and rows while exporting the grid, because of grouped columns it is difficult to apply column filters


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6210
    • View Profile
Re: Remove column and row grouping while export
« Reply #1 on: January 18, 2023, 05:04:16 pm »
you can update colModel of the grid to the lowermost columns: https://paramquery.com/pro/api#method-getColModel before call to export method and revert back to original colModel after call to export method.

https://paramquery.com/pro/api#method-refreshCM