Grid, groupBy() and clearAll()

Hello!

I have the grid table with grouped column (groupBy()). I want to reload rows from server and I make

After reload data I have no groups in my grid and I need to use grid.groupBy() again.

The same result when I use grid.clearAndLoad(). I need to use grid.groupBy() after reload.

Is it normal or it is bug?

This is the expected behavior. After the dataset is cleared and reloaded you need to group your grid again.

How can I clear data without reapply groupBy function? I had to extract groupBy to the function for reusing after reload rows.

Unfortunately such feature is not supported.