//値を取得する var value; //タイプ: [] value = $(".selector").c1gridview("option", "customFilterOperators"); //値を設定します var newValue; //タイプ: [] $(".selector").c1gridview("option", "customFilterOperators", newValue);
var customFilterOperators : ;
//値を取得する var value; //タイプ: [] value = $(".selector").c1gridview("option", "customFilterOperators"); //値を設定します var newValue; //タイプ: [] $(".selector").c1gridview("option", "customFilterOperators", newValue);
var customFilterOperators : ;
var oddFilterOp = { name: "customOperator-Odd", arity: 1, applicableTo: ["number"], operator: function(dataVal) { return (dataVal % 2 !== 0); } } $("#element").wijgrid({ customFilterOperators: [oddFilterOp] });