createUnitsView

스케줄러 내에서 Units 뷰를 설정합니다.

void createUnitsView(object config);
configobjectUnits 뷰의 설정 객체

Available only in PRO Edition

Example

scheduler.createUnitsView({
    name:"unit",
    property:"unit_id",
    list:[
        {key:1, label:"Section A"},
        {key:2, label:"Section B"},
        {key:3, label:"Section C"}  
    ]
});
 
scheduler.init('scheduler_here',new Date(2009,5,30),"unit");
 
scheduler.parse([
 {start_date:"06/30/2009 09:00",end_date:"06/30/2009 12:00",text:"Task1",unit_id:1},
 {start_date:"06/30/2009 12:00",end_date:"06/30/2009 20:00",text:"Task2",unit_id:3},
 {start_date:"06/30/2009 08:00",end_date:"06/30/2009 12:00",text:"Task3",unit_id:2}
],"json");

Applicable views:Units View

Related samples

Details

이 기능은 PRO 에디션에서만 제공됩니다.

이 메서드를 사용하려면 units 플러그인이 활성화되어 있어야 합니다.

Units 뷰의 설정 객체는 다음 속성들을 지원합니다:

맨 위로