我想在同一列中按多个值进行过滤。这可能在slickgrid中。我知道如何使用setFilterArgs使用一个值:
Filter Object:
colFilObj: {"StatusCode":"TestAll"}
var colFilObj= [];
colFilObj["StatusCode"] = "TestAll";
DataView.setFilterArgs(colFilObj);
是否可以修改对象以接受多个值并起作用?
答案 0 :(得分:1)
I made a filter like this using a string delimiter (you can use a commma - I used a semi-colon). Then just create your custom filterand assign it: dataView.setFilter(myFilter);
So, the user would enter m;t for example, to see all items which had m or t in the item value of that column
MyFilter method:
p=pexpect.spawnu('sudo gdb --interpreter=mi')