createGridView

在调度程序中设置 Grid 视图

void createGridView(object config);
configobjectGrid 视图的配置对象

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 视图

Related samples

Details

此功能仅在 PRO 版本中可用。

要使用此方法,必须激活 grid_view 插件。

Grid 视图配置对象支持以下属性:

See also
  • Articles
  • 返回顶部