Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Yaniv on Sep 29, 2009 01:22
open dhtmlx forum
Filter picker autoupdating in grid?

I have a grid with headers that have a filter picker.

I have data that goes something like this:

COLUMN A COLUMN B
A A
A B
A C
B A
C A

If I choose from from the picker on COLUMN B the value "C", I still can choose in the COLUMN A picker "A", "B" or "C".

I want the filter to update so after picking from COLUMN B, only valid rows appear in the picker (i.e only "A")

How can I do that?

Thanks,
Answer posted by dhxSupport on Sep 29, 2009 02:47
Inbuilt grid's filters doesn't support such functionality. But you can implement any custom filter in header you need. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/11_header_footer/02_grid_complexheader_content.html
Answer posted by Yaniv on Sep 29, 2009 03:14
The example itself doesn't support the functionality I was seeking. Do you have another example for me?