Griddle icon indicating copy to clipboard operation
Griddle copied to clipboard

Checkbox values not persisting with Pagination

Open DannyTakeuchi opened this issue 8 years ago • 0 comments

Griddle version

1.3.1

I imported external data into my datatable and I am showing 25 rows at a time. The leftmost column is a custom component of checkboxes:

function checkboxComponent({ value, griddleKey, rowData }) { return ( <div className="MyCustomComponent"> <input type="checkbox" onChange={(e) => selectCheckbox(e, griddleKey)}> ); }

Whenever I got to the next page and return to the original page, all my checked boxes become unchecked. How can I make them persist?

DannyTakeuchi avatar Jul 28 '17 15:07 DannyTakeuchi