BokehJS DataTable

i need example for DataTable using BokehJS

I am assuming you mean the Jquery datatable (https://datatables.net/).

I am also using it in my code development. For my application I need to update the CDS data to reflect the visible filtered rows the user searches for.

So I am simply updating the CDS upon table redraw and then running source.trigger(‘change’). This will be depreciated but the JS documentation has not been updated which I used for reference.

So for my application I have the following behavior,

source.data.var1 = $(’#mytable’).DataTable().columns(0, {search:‘applied’}).data()[0]

source.trigger(‘change’);

pretty simple overall. I am facing issues myself regarding updating the graph currently.

···

On Monday, June 26, 2017 at 10:42:24 AM UTC-4, [email protected] wrote:

i need example for DataTable using BokehJS

Hi,

I actually think the question is about the DataTable widget built into Bokeh (which is based off SlickGrid). Here is one example of that:

  https://github.com/bokeh/bokeh/blob/master/examples/models/file/data_tables.py

Thanks,

Bryan

···

On Jun 30, 2017, at 08:10, [email protected] wrote:

I am assuming you mean the Jquery datatable (https://datatables.net/).

I am also using it in my code development. For my application I need to update the CDS data to reflect the visible filtered rows the user searches for.

So I am simply updating the CDS upon table redraw and then running source.trigger('change'). This will be depreciated but the JS documentation has not been updated which I used for reference.

So for my application I have the following behavior,
source.data.var1 = $('#mytable').DataTable().columns(0, {search:'applied'}).data()[0]
...
...
...
source.trigger('change');

pretty simple overall. I am facing issues myself regarding updating the graph currently.

On Monday, June 26, 2017 at 10:42:24 AM UTC-4, [email protected] wrote:
i need example for DataTable using BokehJS

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/5e1647b9-637f-4768-965f-0946c8559c4a%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.