adding a row

I want to add a row to an empty grid.

But the row isnt getting added if the grid is empty/doesnt contain any rows.

However the row gets added if there is a single row.

Please help on this.

Please, make sure that you have defined the header of your grid.

If the issue still occurs for you, please, provide with any kind of sample of your code or with a complete demo, where the issue can be reproduced.