0

In my application, I am using two ExtJs grid. One contains department ID's and when any row is selected in the first grid, the second grid is populated with department details based on selection in the first grid. I am using two normal ExtJS grid and every thing is working fine.

Now for one of the department (Department 10), I want to show grouped grid in the second grid.

My question is, is it possible to use same grid for grouping as well as normal grid.

Thanks

SharpCoder
  • 18,279
  • 43
  • 153
  • 249

1 Answers1

0

Brown, you can try this code if you are grouping the records locally:

    store.clearGrouping(); //for normal grid and
    store.group(groupers, [direction]);   //for grouping grid

Not sure if it would work if you are using remoteGroup config option. Hope it helps.

Rajinder
  • 346
  • 2
  • 7