Skip to content

Commit 48e94ad

Browse files
Merge pull request #382 from Syncfusion-Content/hotfix/hotfix-v26.1.35
DOCINFRA-2341_merged_using_automation
2 parents 8cae873 + 733f1a2 commit 48e94ad

File tree

392 files changed

+3066
-11799
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

392 files changed

+3066
-11799
lines changed

ej2-vue-toc.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,13 +1071,15 @@
10711071
</li><li>
10721072
Gantt
10731073
<ul>
1074+
<li><a href="/ej2-vue/gantt/overview">Overview</a></li>
10741075
<li>Getting Started
10751076
<ul>
10761077
<li><a href="/ej2-vue/gantt/getting-started">Vue 2</a></li>
10771078
<li><a href="/ej2-vue/gantt/getting-started-vue">Vue 3</a></li>
10781079
<li><a href="/ej2-vue/gantt/quasar">Quasar</a></li>
10791080
</ul>
10801081
</li>
1082+
<li><a href="/ej2-vue/gantt/key-elements">Key Elements in Gantt UI</a></li>
10811083
<li><a href="/ej2-vue/gantt/module">Feature Modules</a></li>
10821084
<li>Data Binding
10831085
<ul>
@@ -1086,6 +1088,7 @@
10861088
<li><a href="/ej2-vue/gantt/loading-animation">Loading Animation</a></li>
10871089
</ul>
10881090
</li>
1091+
<li><a href="/ej2-vue/gantt/performance">Performance Best Practices</a></li>
10891092
<li>Columns
10901093
<ul>
10911094
<li><a href="/ej2-vue/gantt/columns/columns">Columns</a></li>

ej2-vue/code-snippet/gantt/managing-tasks-cs25/app-composition.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<ejs-gantt ref='gantt' id="GanttContainer" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields"></ejs-gantt>
3+
<ejs-gantt ref='gantt' id="GanttContainer" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings"></ejs-gantt>
44
</div>
55
</template>
66
<script setup>
@@ -10,6 +10,20 @@ import { GanttComponent as EjsGantt, Edit, Toolbar } from "@syncfusion/ej2-vue-g
1010
import {projectData ,editingResources} from "./data-source"
1111
1212
const data = projectData;
13+
const addDialogFields = [
14+
{ type: 'General', headerText: 'General add',fields:["TaskID", "TaskName","newInput"]},
15+
{ type: 'Dependency'},
16+
{ type: 'Resources'} ,
17+
{ type: 'Notes' },
18+
{type:"Segments"}
19+
];
20+
const editDialogFields = [
21+
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
22+
{ type: 'Dependency'},
23+
{ type: 'Resources'},
24+
{ type: 'Notes'},
25+
{ type: "Segments"}
26+
];
1327
const height = '450px';
1428
const taskFields = {
1529
id: 'TaskID',
@@ -40,19 +54,5 @@ const editSettings = {
4054
showDeleteConfirmDialog: true
4155
};
4256
const toolbar = ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'ExpandAll', 'CollapseAll'];
43-
const addDialogFields = [
44-
{ type: 'General', headerText: 'General add',fields:["TaskID", "TaskName","newInput"]},
45-
{ type: 'Dependency'},
46-
{ type: 'Resources'} ,
47-
{ type: 'Notes' },
48-
{type:"Segments"}
49-
];
50-
const editDialogFields = [
51-
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
52-
{ type: 'Dependency'},
53-
{ type: 'Resources'},
54-
{ type: 'Notes'},
55-
{ type: "Segments"}
56-
];
5757
provide('gantt', [ Edit, Toolbar ]);
5858
</script>

ej2-vue/code-snippet/gantt/managing-tasks-cs25/app.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<ejs-gantt ref='gantt' id="GanttContainer" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields"></ejs-gantt>
3+
<ejs-gantt ref='gantt' id="GanttContainer" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings"></ejs-gantt>
44
</div>
55
</template>
66
<script>
@@ -16,6 +16,20 @@ components: {
1616
data: function() {
1717
return{
1818
data: projectData,
19+
addDialogFields: [
20+
{ type: 'General', headerText: 'General add',fields:["TaskID", "TaskName","newInput"]},
21+
{ type: 'Dependency'},
22+
{ type: 'Resources'} ,
23+
{ type: 'Notes' },
24+
{type:"Segments"}
25+
],
26+
editDialogFields: [
27+
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
28+
{ type: 'Dependency'},
29+
{ type: 'Resources'},
30+
{ type: 'Notes'},
31+
{ type: "Segments"}
32+
],
1933
height: '450px',
2034
taskFields: {
2135
id: 'TaskID',
@@ -48,20 +62,6 @@ components: {
4862
4963
toolbar: ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'ExpandAll', 'CollapseAll'],
5064
51-
addDialogFields: [
52-
{ type: 'General', headerText: 'General add',fields:["TaskID", "TaskName","newInput"]},
53-
{ type: 'Dependency'},
54-
{ type: 'Resources'} ,
55-
{ type: 'Notes' },
56-
{type:"Segments"}
57-
],
58-
editDialogFields: [
59-
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
60-
{ type: 'Dependency'},
61-
{ type: 'Resources'},
62-
{ type: 'Notes'},
63-
{ type: "Segments"}
64-
],
6565
};
6666
},
6767
provide: {

ej2-vue/code-snippet/gantt/managing-tasks-cs25/index.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,20 @@ new Vue({
8181
]
8282
},
8383
],
84+
addDialogFields: [
85+
{ type: 'General', headerText: 'General add',fields:["newinput"]},
86+
{ type: 'Dependency', params: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
87+
{ type: 'Resources'} ,
88+
{ type: 'Notes' },
89+
{type:"Segments", params:{columns:[{field:"segmenttask",width:"170px" ,headerText:"Segment Task"}],}}
90+
],
91+
editDialogFields: [
92+
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
93+
{type: 'Dependency', params: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
94+
{ type: 'Resources', params: { allowSorting: true, allowPaging: true, toolbar: ["Search", "Print"], columns: [{ field: "newdata" }]}},
95+
{type: 'Notes', params: {inlineMode: { enable: true,onSelection: true }}},
96+
{type: "Segments", params: {columns: [{ field: "segmenttask", width: "170px", headerText: "Segment Task" }],}}
97+
],
8498
height: '450px',
8599
taskFields: {
86100
id: 'TaskID',
@@ -120,20 +134,6 @@ new Vue({
120134

121135
toolbar: ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'ExpandAll', 'CollapseAll'],
122136

123-
addDialogFields: [
124-
{ type: 'General', headerText: 'General add',fields:["newinput"]},
125-
{ type: 'Dependency', params: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
126-
{ type: 'Resources'} ,
127-
{ type: 'Notes' },
128-
{type:"Segments", params:{columns:[{field:"segmenttask",width:"170px" ,headerText:"Segment Task"}],}}
129-
],
130-
editDialogFields: [
131-
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
132-
{type: 'Dependency', params: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
133-
{ type: 'Resources', params: { allowSorting: true, allowPaging: true, toolbar: ["Search", "Print"], columns: [{ field: "newdata" }]}},
134-
{type: 'Notes', params: {inlineMode: { enable: true,onSelection: true }}},
135-
{type: "Segments", params: {columns: [{ field: "segmenttask", width: "170px", headerText: "Segment Task" }],}}
136-
],
137137
};
138138
},
139139
provide: {

ej2-vue/code-snippet/gantt/managing-tasks-cs26/app-composition.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<ejs-gantt ref='gantt' id="GanttContainer" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields"></ejs-gantt>
3+
<ejs-gantt ref='gantt' id="GanttContainer" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings" ></ejs-gantt>
44
</div>
55
</template>
66
<script setup>
@@ -9,6 +9,20 @@ import { provide } from "vue";
99
import { GanttComponent as EjsGantt, Edit, Toolbar } from "@syncfusion/ej2-vue-gantt";
1010
import {projectData ,editingResources} from "./data-source"
1111
const data = projectData;
12+
const addDialogFields = [
13+
{ type: 'General', headerText: 'General add',fields:["TaskID", "TaskName","newInput"]},
14+
{ type: 'Dependency'},
15+
{ type: 'Resources'} ,
16+
{ type: 'Notes' },
17+
{type:"Segments"}
18+
];
19+
const editDialogFields = [
20+
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
21+
{ type: 'Dependency'},
22+
{ type: 'Resources'},
23+
{ type: 'Notes'},
24+
{ type: "Segments"}
25+
];
1226
const height = '450px';
1327
const taskFields = {
1428
id: 'TaskID',
@@ -39,19 +53,5 @@ const editSettings = {
3953
showDeleteConfirmDialog: true
4054
};
4155
const toolbar = ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'ExpandAll', 'CollapseAll'];
42-
const addDialogFields = [
43-
{ type: 'General', headerText: 'General add',fields:["TaskID", "TaskName","newInput"]},
44-
{ type: 'Dependency'},
45-
{ type: 'Resources'} ,
46-
{ type: 'Notes' },
47-
{type:"Segments"}
48-
];
49-
const editDialogFields = [
50-
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
51-
{ type: 'Dependency'},
52-
{ type: 'Resources'},
53-
{ type: 'Notes'},
54-
{ type: "Segments"}
55-
];
5656
provide('gantt', [ Edit, Toolbar ]);
5757
</script>

ej2-vue/code-snippet/gantt/managing-tasks-cs26/app.vue

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<ejs-gantt ref='gantt' id="GanttContainer" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields"></ejs-gantt>
3+
<ejs-gantt ref='gantt' id="GanttContainer" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings" ></ejs-gantt>
44
</div>
55
</template>
66
<script>
@@ -16,6 +16,18 @@ components: {
1616
data: function() {
1717
return{
1818
data: projectData,
19+
addDialogFields: [
20+
{ type: 'General'},
21+
{ type: 'Dependency', additionalParams: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
22+
{ type: 'Resources', additionalParams: { allowSorting: true, allowPaging: true, toolbar: ["Search", "Print"], columns: [{ field: "newData" }]}},
23+
{type:"Segments", additionalParams:{columns:[{field:"segmentTask",width:"170px" ,headerText:"Segment Task"}],}}
24+
],
25+
editDialogFields: [
26+
{ type: 'General' },
27+
{type: 'Dependency', additionalParams: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
28+
{ type: 'Resources', additionalParams: { allowSorting: true, allowPaging: true, toolbar: ["Search", "Print"], columns: [{ field: "newData" }]}},
29+
{type: "Segments", additionalParams: {columns: [{ field: "segmentTask", width: "170px", headerText: "Segment Task" }],}}
30+
],
1931
height: '450px',
2032
taskFields: {
2133
id: 'TaskID',
@@ -48,18 +60,6 @@ components: {
4860
4961
toolbar: ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'ExpandAll', 'CollapseAll'],
5062
51-
addDialogFields: [
52-
{ type: 'General'},
53-
{ type: 'Dependency', additionalParams: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
54-
{ type: 'Resources', additionalParams: { allowSorting: true, allowPaging: true, toolbar: ["Search", "Print"], columns: [{ field: "newData" }]}},
55-
{type:"Segments", additionalParams:{columns:[{field:"segmentTask",width:"170px" ,headerText:"Segment Task"}],}}
56-
],
57-
editDialogFields: [
58-
{ type: 'General' },
59-
{type: 'Dependency', additionalParams: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
60-
{ type: 'Resources', additionalParams: { allowSorting: true, allowPaging: true, toolbar: ["Search", "Print"], columns: [{ field: "newData" }]}},
61-
{type: "Segments", additionalParams: {columns: [{ field: "segmentTask", width: "170px", headerText: "Segment Task" }],}}
62-
],
6363
};
6464
},
6565
provide: {

ej2-vue/code-snippet/gantt/managing-tasks-cs26/index.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,20 @@ new Vue({
8080
{ StartDate: new Date('02/08/2019'), Duration: 3, segmenttask: "segment 3" }
8181
]
8282
},
83+
],
84+
addDialogFields: [
85+
{ type: 'General', headerText: 'General add',fields:["newinput"]},
86+
{ type: 'Dependency', params: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
87+
{ type: 'Resources'} ,
88+
{ type: 'Notes' },
89+
{type:"Segments", params:{columns:[{field:"segmenttask",width:"170px" ,headerText:"Segment Task"}],}}
90+
],
91+
editDialogFields: [
92+
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
93+
{type: 'Dependency', params: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
94+
{ type: 'Resources', params: { allowSorting: true, allowPaging: true, toolbar: ["Search", "Print"], columns: [{ field: "newdata" }]}},
95+
{type: 'Notes', params: {inlineMode: { enable: true,onSelection: true }}},
96+
{type: "Segments", params: {columns: [{ field: "segmenttask", width: "170px", headerText: "Segment Task" }],}}
8397
],
8498
height: '450px',
8599
taskFields: {
@@ -120,20 +134,6 @@ new Vue({
120134

121135
toolbar: ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'ExpandAll', 'CollapseAll'],
122136

123-
addDialogFields: [
124-
{ type: 'General', headerText: 'General add',fields:["newinput"]},
125-
{ type: 'Dependency', params: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
126-
{ type: 'Resources'} ,
127-
{ type: 'Notes' },
128-
{type:"Segments", params:{columns:[{field:"segmenttask",width:"170px" ,headerText:"Segment Task"}],}}
129-
],
130-
editDialogFields: [
131-
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
132-
{type: 'Dependency', params: {allowPaging: true, allowSorting: true, toolbar: ["Search", "Print",]}},
133-
{ type: 'Resources', params: { allowSorting: true, allowPaging: true, toolbar: ["Search", "Print"], columns: [{ field: "newdata" }]}},
134-
{type: 'Notes', params: {inlineMode: { enable: true,onSelection: true }}},
135-
{type: "Segments", params: {columns: [{ field: "segmenttask", width: "170px", headerText: "Segment Task" }],}}
136-
],
137137
};
138138
},
139139
provide: {

ej2-vue/code-snippet/gantt/managing-tasks-cs27/app-composition.vue

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<ejs-gantt ref='gantt' id="GanttContainer" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields"></ejs-gantt>
3+
<ejs-gantt ref='gantt' id="GanttContainer" :editDialogFields="editDialogFields" :addDialogFields= "addDialogFields" :dataSource="data" :resources= "resourceCollection" :resourceFields= "resourceFields" :taskFields = "taskFields" :height = "height" :toolbar="toolbar" :editSettings= "editSettings" ></ejs-gantt>
44
</div>
55
</template>
66
<script setup>
@@ -9,6 +9,20 @@ import { provide } from "vue";
99
import { GanttComponent as EjsGantt, Edit, Toolbar } from "@syncfusion/ej2-vue-gantt";
1010
import {projectData,editingResources} from "./data-source"
1111
const data = projectData;
12+
const addDialogFields = [
13+
{ type: 'General', headerText: 'General add',fields:["TaskID", "TaskName","newInput"]},
14+
{ type: 'Dependency'},
15+
{ type: 'Resources'} ,
16+
{ type: 'Notes' },
17+
{type:"Segments"}
18+
];
19+
const editDialogFields = [
20+
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
21+
{ type: 'Dependency'},
22+
{ type: 'Resources'},
23+
{ type: 'Notes'},
24+
{ type: "Segments"}
25+
];
1226
const height = '450px';
1327
const taskFields = {
1428
id: 'TaskID',
@@ -39,19 +53,5 @@ const editSettings = {
3953
showDeleteConfirmDialog: true
4054
};
4155
const toolbar = ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'ExpandAll', 'CollapseAll'];
42-
const addDialogFields = [
43-
{ type: 'General', headerText: 'General add',fields:["TaskID", "TaskName","newInput"]},
44-
{ type: 'Dependency'},
45-
{ type: 'Resources'} ,
46-
{ type: 'Notes' },
47-
{type:"Segments"}
48-
];
49-
const editDialogFields = [
50-
{ type: 'General', headerText: 'General edit', fields: ["TaskID", "TaskName", "newinput"] },
51-
{ type: 'Dependency'},
52-
{ type: 'Resources'},
53-
{ type: 'Notes'},
54-
{ type: "Segments"}
55-
];
5656
provide('gantt', [ Edit, Toolbar ]);
5757
</script>

0 commit comments

Comments
 (0)