Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Maurius on Aug 02, 2009 23:58
open dhtmlx forum
Scheduler - select options from DB

Hi,

is there a chance to fill a select field in editor from db-data?

name:"dyn_select", height:20, map_to:"dyn_select", type:"select" , options:[{key:"1", label:"test"},{key:"2", label:"test2"},{key:"3", label:"test3"},{key:"4", label:"test4"},{key:"5", label:"test5"}]},





Answer posted by Support on Aug 03, 2009 02:06

Unfortunately it is not possible in current version. Options can be defined only as part of html page ( of course you can form html page dynamically as well, and form the list of options based on DB values ) 

The oncoming update to dhtmlxconnector library will allow to fetch collections of options, this functionality mainly purposed for the grid control, but we have plans to adopt it in the scheduler as well.