#1 --------------------------------- I have a grid with a data type column. I want to create a filter for this column, using a double calendar. I want to have a function
which is called when I press the input button. My problem here is the div with double calendar is shown in top of my grid, and the grid is moved down. I want the functionality to be like this: when I press pe calendar botton, the calendar to be shown right there, in the data column header, above of my grid.
I hope all is clear, please give me some ideas… Thanks in advance…
Thanks for your help… BUT IT ISN’T ENOUGHT! We have a PRO dhtmlx version, and I’m very worried because I can’t find in time all the information I need…
For example, I was looking very long time after seeing a method to know the column index using the column index. I didn’t found this information in your documentation, but I found it in knowledge base… I think this isn’t so easy and normal… Here I found this information:
the same page in grid package - dhtmlxGrid/doc/alpha.html
Regarding the third problem. You can use setPosition method. It can get as parameters either left and top positions of the calendar or object. In your case the object is more suitable:
which is called when I press the input button. My problem here is the div with double calendar is shown in top of my grid, and the grid is moved down. >> I want the functionality to be like this: when I press pe calendar botton, the calendar to be shown right there, in the data
If dbl-calendar was initialized inside div, the show and hide methods will affect only visibility of calendar’s container. If it has not position:absolute style defined - it will not be shown over grid, but will shift all content of the page.