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?
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)
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.