essitco java1
essitco java1

Reputation: 35

how to get pinned row data in react AG-grid

I am using ag-grid-react in my react application and pinned a row in table. I want to update the column values in the pinned row. How to do it?

Upvotes: 2

Views: 5738

Answers (1)

Arcot Deepika
Arcot Deepika

Reputation: 449

To put pinned rows into your grid, set pinnedTopRowData or pinnedBottomRowData in the same way as you would set normal data into rowData.

After the grid is created, you can update the pinned rows by calling api.setPinnedTopRowData(rows) and setPinnedBottomRowData(rows).

Upvotes: 2

Related Questions