Hi,
I don’t know if my issue is related to this one (In Bokeh Server, CDSView Is Updating But Glyph Does Not) or this one(Dynamically changing GroupFilter.group does not update table view) and if it was fixed in the meantime.
I have a datatable built in this way:
self._pakCDS = ColumnDataSource(dict())
self._pakCDSView = CDSView(source=self._pakCDS, filters=[])
self._dataTable = DataTable(source=self._pakCDS, index_position=0, autosize_mode='fit_columns',
view=self._pakCDSView, width=800, height=800)
When I use a textInput on_change callback to update the filters of the CDSView, nothing happens at the DataTable
I tried both this way:
def _apply_filter(self, attr, old, new):
booleans = BooleanFilter([True if new in y_val else False for y_val in self._pakCDS.data['label']])
self._pakCDSView.filters[0] = booleans
and this way:
def _apply_filter(self, attr, old, new):
booleans = BooleanFilter([True if new in y_val else False for y_val in self._pakCDS.data['label']])
self._pakCDSView.filters = [booleans]
but nothing works.