Перейти к основному содержимому

createGridView

к сведению

Эта функция доступна только в PRO-версии.

Description

Настраивает Grid view внутри планировщика

createGridView: (config: any) => void

Parameters

  • config - (required) object - объект конфигурации для Grid view

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 view поддерживает следующие свойства:

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.