Apply transform (deserialization) to row, before cell renderer #6009
Replies: 1 comment
|
Two approaches solve this cleanly without duplicating work in every cell renderer or deserializing all 1,000 rows upfront: Approach 1: Custom Row Model Wrapping
|
Uh oh!
There was an error while loading. Please reload this page.
I load a large JSON file with approx 1000 rows. I want to deserialize the rows. Since the number of rows is high, I would like to deserialize only the currently visible rows in my paginated table.
So far the only way I have found is to do in every cell renderer, which feels inefficient and repetitive, as I would like to apply my deserialization / transform to the entire row. I though maybe a custom row model might be a good fit, but I haven't found any examples.
What would be a good way to achieve my goal?
All reactions