createGridView

creates the Grid view in the scheduler

void createGridView(object config);
configobjectthe configuration object of the Grid view

Available only in PRO Edition

Example

scheduler.createGridView({
    name:"grid",
    fields:[
        {id:"id",       label:'Book Title', width:'*',  align:'right',  sort:'str'},
        {id:"date",     label:'Author',     width:100},
        {id:"text",     label:'Votes',      width:200,  align:'left',   sort:'int'}
    ],
    from:new  Date(2000, 00, 01),
    to:new Date(2013, 00, 01)
});

Applicable views:Grid View

Related samples

Details

This functionality is available in the PRO edition only.

The method requires the grid_view plugin to be activated.

The configuration object of the Grid view can have the following properties:

See also
  • Articles
  • Back to top