跳转到主要内容

createGridView

信息

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

Description

在调度程序中设置 Grid 视图

createGridView: (config: any) => void

Parameters

  • config - (required) object - Grid 视图的配置对象

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

Details

注释

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

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

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.