Closed IvanSavoskin closed 3 years ago
I will check about option changes. In the mean time, please set "key" to something else to force it rerender the ReactTabulator component like:
const [tableKey, setTableKey] = React.useState(`${Math.random()}`)
on change, setTableKey(`${Math.random()}`)
<ReactTabulator key={tableKey} ref={tableRef} columns={columns} data={data}
Related ticket https://github.com/ngduc/react-tabulator/issues/199
Released 0.14.7: when "options" prop changed, it will rebuild the table to reflect that change. Let me know if you still have this issue. Thanks.
@ngduc Very cool. Everything works, thanks a lot
This build has one issue which is fixed in 0.15.0. Please upgrade.
@ngduc Thank you very much
Still not working for me...
Environment Details
Long Description I need to update an empty table placeholder on localization or on error while getting data. You can't do this through ref, localization also does not provide for placeholder localization. The same applies to many other parameters, when updating which the table is simply not rendered (For example, when changing pagination from local to undefined)