Griddle
Griddle copied to clipboard
Checkbox values not persisting with Pagination
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?