In this topic, you will learn how to customize filter context menu.
To show only the "Not Set" and "Greater Than Or Equal"
Add function ChangeFilter as body onload function.
JavaScript | Copy Code |
function ChangeFilter() { wg_Global.FilterType = new Array(["NotSet",0], ["GTET",1]); |
These are the whole list of the available Filter Context Menu :
- ["NotSet", 0]
- ["GTET", 1]
- ["GT", 2]
- ["ET", 3]
- ["NET", 9]
- ["LTET", 4]
- ["LT", 5]
- ["Like", 6]
- ["NotLike", 11]
- ["Between", 7]
- ["NotBetween", 10]
- ["IsNull", 12]
- ["NotIsNull", 13]
- ["IsEmpty", 14]
- ["NotIsEmpty", 15]
- ["Contain ", 16]
- ["NotContain", 17]