Skip to content

Add row at top of grid #9675

Closed
Closed
@Eralmidia

Description

@Eralmidia

Question

I'm replacing an old jquery ignite grid with a new igx one. In the old one, we added a new row at the top of the grid like this:
image

In the new grid, I'm starting the adding of a new row with the following code:

var row = this.grid.getRowByIndex(0);
row.beginAddRow();

This however seems to add a new row below the first row, which look odd:
image

How do I add a new row at the top of the grid?

  • igniteui-angular version: 10.2

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions