Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by osiris on Nov 16, 2007 13:11
open dhtmlx forum
dhtmlxGrid working with dates

hi,

i like the way the new check box style can be applied on the grid. i need to know how i can load dates from mysql in order to make a full month view and use check box to mark availability/non availability for each day of the month
Answer posted on Nov 19, 2007 07:19
Actually there a lot of ways to do such task , the grid just show info, so you just need to form necessary XML on server side ( because grid can't access data directly you need to have some kind of server side scripting )

grid.=new ...
...
grid.loadXML("data.php");


----==== data.php ====----
<?php
    /*
       here data extracted from mysql and printed to stdout as XML string
    */
?>