PDA

View Full Version : Datepicker as filterfield



marc_isenborghs@bose.com
22 Aug 2008, 2:51 AM
Hi,

does anyone know how I can use a combination of a datepickerfield and a (store)filterfield?
I want to filter a table on a datefield and of course I want to pick the date in the filterfield
using a datepicker.

Thanks

darrellmeyer
23 Aug 2008, 7:19 AM
Your best bet will be to extend DateField and copy the code from StoreFilterField into your new class. You can listen for the Change event on DateField to know when to apply the filters.

marc_isenborghs@bose.com
25 Aug 2008, 12:38 AM
Thanks,

it works fine now!

shajeerkt
21 Jun 2009, 3:31 AM
Your best bet will be to extend DateField and copy the code from StoreFilterField into your new class. You can listen for the Change event on DateField to know when to apply the filters.

Dear Darrel,

I am a newbie in GXT . Could you give me a little explanation to the above quote . I dint understand "copy the code from dtoreFilterField"

If possible could you give me a sample code ..