hoist-react icon indicating copy to clipboard operation
hoist-react copied to clipboard

GridModel should still allow custom pinned rows

Open ghsolomon opened this issue 2 years ago • 1 comments

Developers should be able to utilize AG-Grid's support for custom pinned rows, but currently GridModel overwrites pinned row data provided via agOptions. As a workaround, pinned rows can be set by calling agApi.setPinnedTopRowData(), but currently the data provided must be StoreRecords, which is not ideal because we don't expect application code to construct StoreRecords. Consider changing Hoist methods that deal with pinned row data to first confirm that the data is instanceof StoreRecord.

ghsolomon avatar Jan 20 '23 21:01 ghsolomon