I have figured out how to hide the filter textbox for a column by doing the following:
But...
1. how do I hide the filter icon that is next to each text box?
2. how can I add my own custom text in place of it if I want to?
3. how can I hide the filter options I do not want? for instance on a numeric column named "points" I only want "GreaterThan" and GreaterThanEqualTo".
Thanks!
If TypeOf e.Item Is GridFilteringItem Then |
Dim filteringItem As GridFilteringItem = CType(e.Item, GridFilteringItem) |
'set dimensions for the filter textbox |
Dim box As TextBox = CType(filteringItem("CheckBoxTemplateColumn").Controls(0), TextBox) |
box.Visible = False |
But...
1. how do I hide the filter icon that is next to each text box?
2. how can I add my own custom text in place of it if I want to?
3. how can I hide the filter options I do not want? for instance on a numeric column named "points" I only want "GreaterThan" and GreaterThanEqualTo".
Thanks!