When trying to do (grid
is defined) i can see the $$
, $destroy
, $on
and $set
properties but for any other props such as data, columns, etc... i get Exception: Error: <Gridjs>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>' at get columns [as columns]
.
I am writing my own custom row select plugin with a checkbox on the side of each row, in order to check or uncheck all rows at once I need to access the the rows from inside the grid
Is there an way to do bind:this and access the properties inside the grid from svelte?