Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mate Ordody on Jan 17, 2010 10:49
open dhtmlx forum
Select filter in grid header

Hi!

I have a grid with a filter row in its header:
<call command="attachHeader">
<param>#text_filter,#text_filter,#text_filter,#select_filter,#text_filter</param>
</call>

When I use the select filter it gives all rows that exactly or partially match the cell content. It is OK for a text filter but in case of a select filter I supposed to have only exact matches. Can I change this behaviour of the select filter or are there another filter that fits my needs?

Thanks in advance
Mate
Answer posted by Alex (support) on Jan 18, 2010 00:59

Hello

You can use #select_filter_strict instead of #select_filter

Answer posted by Mate Ordody on Jan 18, 2010 03:10
Thanks for the reply. I tried it and the filter really exists, but when I set it, I found zero rows in my grid. It is too strict. :)
I am using grid version 2.0 build 81009 can it cause the failure?


Answer posted by Alex (support) on Jan 18, 2010 05:11
You can create a custom filter in grid header. Please have a look at the article http://www.dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:filtering