I want to be able to change the context of the view of the scheduler. To do that, I want to create a drop-down from the back-end database. So I get the user list like so:$users = new JSONOptionsConnector($timesheet_db, $dbtype);
$users->render_sql("SELECT UserID AS `key`, LastName AS `label`, FirstName, SecurityLevelID, Password, Email, StatusID FROM t_user","key","key,label,FirstName, SecurityLevelID, Password, Email, StatusID");
but how do I get a drop-down into a DIV that I’ve inserted above the target DIV for scheduler?
Hello.
It seems like you just should insert common lightbox above scheduler. So, you should have container to put combo to.
Then combo can be added with constructor.
E.g.:
var myCombo = new dhtmlXCombo("combo_zone","alfa3",200);
See articles:
docs.dhtmlx.com/combo__how_to_start.html
docs.dhtmlx.com/combo__adding_options.html
docs.dhtmlx.com/connector__php_ … combo.html