Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Pinal on Apr 21, 2009 11:07
open dhtmlx forum
combo_filter, select_filter

Hi
I am using the filter_combo in my tool bar. But the problem I am facing is that I have two values Active and Inactive. When I select Inactive I get all the Inactive rows but when I select Active I get all the Inactive and Active rows. Same issue with select_filter.

How can this be fixed?

Also how can I have the link in a grid open in the same window as the grid is and not open a new browser window?

here is a snipet of my xml
<?xml version="1.0" encoding="UTF-8"?><rows>
<row>
<cell>MANZANO, LISA M</cell>
<cell>KH1675</cell>
<cell>02995915</cell>
<cell>Postal</cell>
<cell>Inactive</cell>
</row>
<row>
<cell>STEWARD, SETH I</cell>
<cell>KQ6VG7</cell>
<cell>01438318</cell>
<cell>Postal</cell>
<cell>Inactive</cell>
</row>
<row>
<cell>OSBORN, TERRY L</cell>
<cell>KGWY1S</cell>
<cell>03129656</cell>
<cell>Postal</cell>
<cell>Inactive</cell>
</row>
<row>
<cell>TORRES, GLENDA M</cell>
<cell>KQK0WW</cell>
<cell>01753988</cell>
<cell>Postal</cell>
<cell>Inactive</cell>
</row>
<row>
<cell>WALKER, CARRIE S</cell>
<cell>KJ3T40</cell>
<cell>01676687</cell>
<cell>Postal</cell>
<cell>Inactive</cell>
</row>
<row>
<cell>GONNUSCIO, MALINDA A</cell>
<cell>R05RX0</cell>
<cell>02946001</cell>
<cell>Postal</cell>
<cell>Active</cell>
</row>
<row>
<cell>LAMOTHE, CHRISTINE A</cell>
<cell>Q7XF00</cell>
<cell>01722085</cell>
<cell>Postal</cell>
<cell>Active</cell>
</row>
<row>
<cell>MANNA JR, PATRICK</cell>
<cell>BKWVB0</cell>
<cell>01589628</cell>
<cell>Postal</cell>
<cell>Active</cell>
</row>
<row>
<cell>MARTIN, ROSEMARIE L</cell>
<cell>BM6PG0</cell>
<cell>01733025</cell>
<cell>Postal</cell>
<cell>Active</cell>
</row>
<row>
<cell>MALISZKA, JOHN J</cell>
<cell>RHCFX0</cell>
<cell>01927884</cell>
<cell>Postal</cell>
<cell>Active</cell>
</row>
</rows>
Answer posted by dhxSupport on Apr 22, 2009 06:39
Issue occur because of word "Inactive" contain workd "Active". #select_filter and #combo_filter filter grid by word which is containted into the cell's value. Try to change #selecte_filter to the #selecte_filter_strict. 
Answer posted by Pinal on Apr 22, 2009 07:23

Thank you so much for your reply this is working.