Adding row at a specific position when grouping is used.

Hello all,
I am trying to add a new row using addRow() function at a specific position. It works fine when grouping is not used. But once I use grouping, irrespective of the index I provide, the new row always gets added at the end.
Is it possible to add a new row at a specific position when grouping is used?

It is not available to put a new row on a specific position with grouped rows.
You may try to regroup your grid right after the row is added so it will place the position which will be correct according to the group method.