Grouping of data by means of group by

hello, at the time of having several records of different groups, I added an additional row at the beginning. Does anyone know what this problem is?

use the gruop By

It is recommended to ungroup your grid before adding new data and group it back again after the row adding:

myGrid.unGroup()
myGrid.addRow("id",[])
myGrid.groupBy(ind)