gridjs icon indicating copy to clipboard operation
gridjs copied to clipboard

When instanciating gridjs from existing table, data should be modifiable

Open pcambra opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe.

I've been implementing the jQuery version of the library with something like:

var grid = $("table#mytable").Grid(options);

And that has worked wonderfully until I needed to add some filters to the data, I tried all the options in the documentation, i.e. https://gridjs.io/docs/examples/import-function, but it seems that when loading the content of the grid using from, calling data has no effect.

Describe the solution you'd like

No matter how the data is loaded, allow for changing it with a common method, i.e. data() => [newRows]

pcambra avatar Apr 18 '21 19:04 pcambra

@pcambra got it. could you create an online demo for me please (on jsfiddle, codesandbox, etc).

afshinm avatar May 03 '21 07:05 afshinm

any progress here?

teocci avatar Sep 06 '23 02:09 teocci