2016-08-17 23 views
0

の初日チャート:私はこのコンポーネントについては好きではない何は私が<a href="https://www.syncfusion.com/products/javascript/ejgantt" rel="nofollow noreferrer">ejgantt</a>コンポーネントに基づいています<a href="https://www.syncfusion.com/products/javascript" rel="nofollow noreferrer">Essential JS</a>プロジェクトトラッカー例変更しようとする週

$("#gantt").ejGantt({ 
      dataSource: projectData, 
      allowColumnResize: true, 
      allowSorting: true, 
      allowSelection: true, 
      enableResize:true, 
      enableContextMenu:true, 
      taskIdMapping: "taskID", 
      allowDragAndDrop:true, 
      taskNameMapping: "taskName", 
      startDateMapping: "startDate", 
      showColumnChooser: true, 
      showColumnOptions: true, 
      progressMapping: "progress", 
      durationMapping: "duration", 
      endDateMapping: "endDate", 
      childMapping: "subtasks", 
      enableVirtualization: false, 
      highlightWeekEnds: true, 
      includeWeekend: false, 
      scheduleStartDate: "02/01/2014", 
      scheduleEndDate: "04/09/2014", 
      scheduleHeaderSettings:{weekHeaderFormat : "d MMM yyyy" }, 
      resourceInfoMapping: "resourceId", 
      resourceNameMapping: "resourceName", 
      resourceIdMapping: "resourceId", 
      resources: projectResources, 
      predecessorMapping: "predecessor", 
      showResourceNames:true, 
      toolbarSettings: { 
       showToolbar: true, 
       toolbarItems: [ej.Gantt.ToolbarItems.Add, 
       ej.Gantt.ToolbarItems.Edit, 
       ej.Gantt.ToolbarItems.Delete, 
       ej.Gantt.ToolbarItems.Update, 
       ej.Gantt.ToolbarItems.Cancel, 
       ej.Gantt.ToolbarItems.Indent, 
       ej.Gantt.ToolbarItems.Outdent, 
       ej.Gantt.ToolbarItems.ExpandAll, 
       ej.Gantt.ToolbarItems.CollapseAll, 
       ej.Gantt.ToolbarItems.Search] 
      }, 
      editSettings: { 
       allowEditing: true, 
       allowAdding: true, 
       allowDeleting: true, 
       allowIndent: true, 
       editMode: "cellEditing" 
      }, 
      sizeSettings:{ 
       width:"100%", 
       height:"100%" 
      }, 
      dragTooltip: { showTooltip: true }, 
      showGridCellTooltip: true, 
      treeColumnIndex:1 
     }); 
    }); 

を、その最初の日であります私はしかしejscheduleコンポーネントに属する程度firstDayOfWeek方法を、知っている

enter image description here

:このコンポーネントでは今週の日曜日です。だから、私はいくつかの助けが必要です。

答えて

1

現在、ejGanttでは週の最初の曜日をカスタマイズすることはできません。このため、私たちはすでにこれに関する機能リクエストを記録しています。さらに https://www.syncfusion.com/Account/Logon?ReturnUrl=/support/directtrac

よろしく、

Syncfusionチームを参照するため は、弊社サポートWebサイトにログオンしてください。

+0

ありがとう、皆さん!あなたは素晴らしいフレームワークを作った! – Jacobian

関連する問題

 関連する問題