Options' lists can be added to scheduler by dhtmlxOptions connector. All you need to do is:
public override IdhtmlxConnector CreateConnector(HttpContext context)
{
var connector = new dhtmlxSchedulerConnector(
"Events",
"EventID",
dhtmlxDatabaseAdapterType.SqlServer2005,
ConfigurationManager.ConnectionStrings["SamplesDatabase"].ConnectionString,
"FromDate",
"ToDate",
"Subject as text, Details as details, Tags"
);
dhtmlxOptionsConnector optionsConnector = new dhtmlxOptionsConnector(
"types",
"typeid",
connector.Request.Adapter,
"name"
);
connector.AddOptionsConnector("type", optionsConnector);
return connector;
}
Back to top