createGridView

creates the Grid view in the scheduler

void createGridView(object config);

Parameters

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)
});

Required extension: ext/dhtmlxscheduler_grid_view.js
Applicable views:Grid View

Related samples

Details

This functionality is available in the PRO edition only.

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

See also
  • Articles
  • Back to top