Author Topic: How to reset group  (Read 1685 times)

sshede

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 41
    • View Profile
How to reset group
« on: January 07, 2021, 01:28:54 pm »
How to reset group

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to reset group
« Reply #1 on: January 07, 2021, 01:59:14 pm »
Please elaborate your question.

sshede

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: How to reset group
« Reply #2 on: January 07, 2021, 02:09:50 pm »
I Have made group with 2 column.
I want to remove group by click on Button

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to reset group
« Reply #3 on: January 07, 2021, 08:50:04 pm »
Please use either

Code: [Select]
grid.Group().option({
    on: false
});

or

Code: [Select]
grid.Group().option({
    dataIndx: []
});
« Last Edit: January 07, 2021, 08:54:32 pm by paramvir »