Crossfilter filter based on textbox

假如想象 提交于 2019-12-04 14:26:00

问题


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.



来源:https://stackoverflow.com/questions/15615336/crossfilter-filter-based-on-textbox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!