-->

Crossfilter filter based on textbox

2020-06-04 13:31发布

问题:

I would like to filter my data based on the input in a textbox. Is this possible? Something like this but with crossfilter.

回答1:

Certainly possible with crossfilter, just create dimension objects from your raw data and then apply a filter by the input of the text box.

myDimension.filter(valueFromBox); // selects values who equal the value in the text box

Check out the API docs here.