Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by pepys on Apr 03, 2009 06:02
open dhtmlx forum
Combo filter using data type

I have in a grid a column with data types values (12-03-2009 12:50:00), I want to attach in my grid header a filter using a calendar, with the posibility to can choose an interval, two datas. How can I do this?
Answer posted by pepys on Apr 03, 2009 06:06
When I use a combo filter, I have a style problem: When I click the arrow of the filter select, the values of my filter doesn't appear correctly in the right place, they are appearing in the left corner of the web poage, in the top. Also, how you can see in the first image, the filter arrow doesn't appear correctly.. What I have to do in this case? Thanks a lot..
Attachments (2)
combo1.jpg59.56 Kb
combo2.jpg229.03 Kb
Answer posted by pepys on Apr 03, 2009 06:45
I want to know also how to put in my header, for a numeric column, a combo filter with these values:

- greater than (like: ">100"),
- less than (like: "<100"),
- equel to (like "=100" or "100"),
- range (like "10..100")
Answer posted by Support on Apr 03, 2009 09:49
There is no built in filter for dates in dhtmlxgrid, but you can place any custom control inside header ( dhtmlxCalendar for example and use filterBy calls to filter grid , when date selected )
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Data_filtering_search.html#grid_fsing
Answer posted by Support on Apr 03, 2009 09:54
>>When I use a combo filter, I have a style problem: When I click the arrow of the filter select
Are you using default css of combo or some custom modification was applied?
The situation on provided screen can appear 
 - default css was updated in incorrect way
 - some css conflict appears ( page uses global css rules which affects all inputs on the page for example ) 
Answer posted by pepys on Apr 06, 2009 00:29
Thanks for your answer. I use the default css of combo, I've disabled the global css of my web site, so no others css files are running now, just the css files from dhtml, and the problem is the same.. What I have to do now..?
Answer posted by pepys on Apr 06, 2009 01:03
Hiiiiiiiiiiiiiiiii......... The combo css problem is solved now, was my mistake in the path include of the css file, so is alright now ;)