need example of loading sections from server side

Hi,

I am using dhtmlxScheduler Units View, example shown has harddoded values for section as follows.

var sections = [
{ key: 1, label: “James Smith” },
{ key: 2, label: “John Williams” },
{ key: 3, label: “David Miller” },
{ key: 4, label: “Linda Brown” }
];

Please can you give example how can load sections dynamically?

Thanks in Advance,
Pravin

dhtmlxScheduler\samples\01_initialization_loading\09_connector_options.html