@syncfusion/ej2-vue-grids 32.2.9 → 33.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-vue-grids.umd.min.js +2 -2
- package/dist/ej2-vue-grids.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-grids.es2015.js +54 -0
- package/dist/es6/ej2-vue-grids.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-grids.es5.js +54 -0
- package/dist/es6/ej2-vue-grids.es5.js.map +1 -1
- package/package.json +4 -4
- package/src/grid/grid.component.d.ts +18 -0
- package/src/grid/grid.component.js +54 -0
|
@@ -28,6 +28,7 @@ export declare type GridComponent = typeof ComponentBase & {
|
|
|
28
28
|
[key: string]: Object;
|
|
29
29
|
}, successHandler?: Function): void;
|
|
30
30
|
addRecord(data?: Object, index?: number): void;
|
|
31
|
+
addRecordAsync(data?: Object, index?: number): Object;
|
|
31
32
|
addShimmerEffect(): void;
|
|
32
33
|
autoFitColumns(fieldNames?: string | string[], startRowIndex?: number, endRowIndex?: number): void;
|
|
33
34
|
batchAsyncUpdate(changes: Object): void;
|
|
@@ -36,16 +37,21 @@ export declare type GridComponent = typeof ComponentBase & {
|
|
|
36
37
|
changeDataSource(dataSource?: Object | Object | Object, columns?: Object[] | string[] | Object[], properties?: Object): void;
|
|
37
38
|
clearCellSelection(): void;
|
|
38
39
|
clearFiltering(fields?: string[]): void;
|
|
40
|
+
clearFilteringAsync(fields?: string[]): Object;
|
|
39
41
|
clearGrouping(): void;
|
|
42
|
+
clearGroupingAsync(): Object;
|
|
40
43
|
clearRowSelection(): void;
|
|
41
44
|
clearSelection(): void;
|
|
42
45
|
clearSorting(): void;
|
|
46
|
+
clearSortingAsync(): Object;
|
|
43
47
|
closeEdit(): void;
|
|
44
48
|
copy(withHeader?: boolean): void;
|
|
45
49
|
csvExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: Object, isBlob?: boolean): Object;
|
|
46
50
|
dataReady(): void;
|
|
47
51
|
deleteRecord(fieldname?: string, data?: Object): void;
|
|
52
|
+
deleteRecordAsync(fieldname?: string, data?: Object): Object;
|
|
48
53
|
deleteRow(tr: Object): void;
|
|
54
|
+
deleteRowAsync(tr: Object): Object;
|
|
49
55
|
destroy(): void;
|
|
50
56
|
destroyTemplate(propertyNames?: string[], index?: any, callback?: Object): void;
|
|
51
57
|
detailCollapseAll(): void;
|
|
@@ -53,9 +59,11 @@ export declare type GridComponent = typeof ComponentBase & {
|
|
|
53
59
|
editCell(index: number, field: string): void;
|
|
54
60
|
enableToolbarItems(items: string[], isEnable: boolean): void;
|
|
55
61
|
endEdit(): void;
|
|
62
|
+
endEditAsync(): Object;
|
|
56
63
|
excelExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: Object, isBlob?: boolean): Object;
|
|
57
64
|
extendRequiredModules(modules: Object[]): void;
|
|
58
65
|
filterByColumn(fieldName: string, filterOperator: string, filterValue: string | number | Object | boolean | number[] | string[] | Object[] | boolean[] | null, predicate?: string, matchCase?: boolean, ignoreAccent?: boolean, actualFilterValue?: string, actualOperator?: string): void;
|
|
66
|
+
filterByColumnAsync(fieldName: string, filterOperator: string, filterValue: string | number | Object | boolean | number[] | string[] | Object[] | boolean[] | null, predicate?: string, matchCase?: boolean, ignoreAccent?: boolean, actualFilterValue?: string, actualOperator?: string): Object;
|
|
59
67
|
freezeRefresh(): void;
|
|
60
68
|
getBatchChanges(): Object;
|
|
61
69
|
getCellFromIndex(rowIndex: number, columnIndex: number): Object;
|
|
@@ -98,6 +106,7 @@ export declare type GridComponent = typeof ComponentBase & {
|
|
|
98
106
|
getMovableRowByIndex(index: number): Object;
|
|
99
107
|
getMovableRows(): Object[];
|
|
100
108
|
getPager(): Object;
|
|
109
|
+
getPersistColumns(): string;
|
|
101
110
|
getPrimaryKeyFieldNames(): string[];
|
|
102
111
|
getRowByIndex(index: number): Object;
|
|
103
112
|
getRowIndexByPrimaryKey(value: string | Object | number): number;
|
|
@@ -113,8 +122,10 @@ export declare type GridComponent = typeof ComponentBase & {
|
|
|
113
122
|
getUidByColumnField(field: string): string;
|
|
114
123
|
getVisibleColumns(): Object[];
|
|
115
124
|
goToPage(pageNo: number): void;
|
|
125
|
+
goToPageAsync(pageNo: number): Object;
|
|
116
126
|
groupCollapseAll(): void;
|
|
117
127
|
groupColumn(columnName: string): void;
|
|
128
|
+
groupColumnAsync(columnName: string): Object;
|
|
118
129
|
groupExpandAll(): void;
|
|
119
130
|
hideColumns(keys: string | string[], hideBy?: string): void;
|
|
120
131
|
hideScroll(): void;
|
|
@@ -135,6 +146,7 @@ export declare type GridComponent = typeof ComponentBase & {
|
|
|
135
146
|
reorderRows(fromIndexes: number[], toIndex: number): void;
|
|
136
147
|
saveCell(): void;
|
|
137
148
|
search(searchString: string): void;
|
|
149
|
+
searchAsync(searchString: string): Object;
|
|
138
150
|
selectCell(cellIndex: Object, isToggle?: boolean): void;
|
|
139
151
|
selectCells(rowCellIndexes: Object[]): void;
|
|
140
152
|
selectCellsByRange(startIndex: Object, endIndex?: Object): void;
|
|
@@ -145,24 +157,30 @@ export declare type GridComponent = typeof ComponentBase & {
|
|
|
145
157
|
serverExcelExport(url: string, headers?: Object): void;
|
|
146
158
|
serverPdfExport(url: string, headers?: Object): void;
|
|
147
159
|
setCellValue(key: string | number, field: string, value: string | number | boolean | Object | null): void;
|
|
160
|
+
setCellValueAsync(key: string | number, field: string, value: string | number | boolean | Object | null, delay: number): Object;
|
|
161
|
+
setColumns(columns: Object[]): void;
|
|
148
162
|
setGridContent(element: Object): void;
|
|
149
163
|
setGridContentTable(element: Object): void;
|
|
150
164
|
setGridHeaderContent(element: Object): void;
|
|
151
165
|
setGridHeaderTable(element: Object): void;
|
|
152
166
|
setGridPager(element: Object): void;
|
|
153
167
|
setRowData(key: string | number, rowData?: Object): void;
|
|
168
|
+
setRowDataAsync(key: string | number, rowData?: Object, delay?: number): Object;
|
|
154
169
|
showAdaptiveFilterDialog(): void;
|
|
155
170
|
showAdaptiveSortDialog(): void;
|
|
156
171
|
showColumns(keys: string | string[], showBy?: string): void;
|
|
157
172
|
showMaskRow(axisDirection?: string, dialogElement?: Object): void;
|
|
158
173
|
showSpinner(): void;
|
|
159
174
|
sortColumn(columnName: string, direction: Object, isMultiSort?: boolean): void;
|
|
175
|
+
sortColumnAsync(columnName: string, direction: Object, isMultiSort?: boolean): Object;
|
|
160
176
|
startEdit(): void;
|
|
161
177
|
ungroupColumn(columnName: string): void;
|
|
178
|
+
ungroupColumnAsync(columnName: string): Object;
|
|
162
179
|
unpinRows(data: Object[]): void;
|
|
163
180
|
updateCell(rowIndex: number, field: string, value: string | number | boolean | Object): void;
|
|
164
181
|
updateExternalMessage(message: string): void;
|
|
165
182
|
updateRow(index: number, data: Object): void;
|
|
183
|
+
updateRowAsync(index: number, data: Object): Object;
|
|
166
184
|
updateRowValue(key: number, rowData: Object): void;
|
|
167
185
|
};
|
|
168
186
|
export declare const GridPlugin: {
|
|
@@ -147,6 +147,9 @@ export var GridComponent = vueDefineComponent({
|
|
|
147
147
|
addRecord: function (data, index) {
|
|
148
148
|
return this.ej2Instances.addRecord(data, index);
|
|
149
149
|
},
|
|
150
|
+
addRecordAsync: function (data, index) {
|
|
151
|
+
return this.ej2Instances.addRecordAsync(data, index);
|
|
152
|
+
},
|
|
150
153
|
addShimmerEffect: function () {
|
|
151
154
|
return this.ej2Instances.addShimmerEffect();
|
|
152
155
|
},
|
|
@@ -171,9 +174,15 @@ export var GridComponent = vueDefineComponent({
|
|
|
171
174
|
clearFiltering: function (fields) {
|
|
172
175
|
return this.ej2Instances.clearFiltering(fields);
|
|
173
176
|
},
|
|
177
|
+
clearFilteringAsync: function (fields) {
|
|
178
|
+
return this.ej2Instances.clearFilteringAsync(fields);
|
|
179
|
+
},
|
|
174
180
|
clearGrouping: function () {
|
|
175
181
|
return this.ej2Instances.clearGrouping();
|
|
176
182
|
},
|
|
183
|
+
clearGroupingAsync: function () {
|
|
184
|
+
return this.ej2Instances.clearGroupingAsync();
|
|
185
|
+
},
|
|
177
186
|
clearRowSelection: function () {
|
|
178
187
|
return this.ej2Instances.clearRowSelection();
|
|
179
188
|
},
|
|
@@ -183,6 +192,9 @@ export var GridComponent = vueDefineComponent({
|
|
|
183
192
|
clearSorting: function () {
|
|
184
193
|
return this.ej2Instances.clearSorting();
|
|
185
194
|
},
|
|
195
|
+
clearSortingAsync: function () {
|
|
196
|
+
return this.ej2Instances.clearSortingAsync();
|
|
197
|
+
},
|
|
186
198
|
closeEdit: function () {
|
|
187
199
|
return this.ej2Instances.closeEdit();
|
|
188
200
|
},
|
|
@@ -198,9 +210,15 @@ export var GridComponent = vueDefineComponent({
|
|
|
198
210
|
deleteRecord: function (fieldname, data) {
|
|
199
211
|
return this.ej2Instances.deleteRecord(fieldname, data);
|
|
200
212
|
},
|
|
213
|
+
deleteRecordAsync: function (fieldname, data) {
|
|
214
|
+
return this.ej2Instances.deleteRecordAsync(fieldname, data);
|
|
215
|
+
},
|
|
201
216
|
deleteRow: function (tr) {
|
|
202
217
|
return this.ej2Instances.deleteRow(tr);
|
|
203
218
|
},
|
|
219
|
+
deleteRowAsync: function (tr) {
|
|
220
|
+
return this.ej2Instances.deleteRowAsync(tr);
|
|
221
|
+
},
|
|
204
222
|
destroy: function () {
|
|
205
223
|
return this.ej2Instances.destroy();
|
|
206
224
|
},
|
|
@@ -222,6 +240,9 @@ export var GridComponent = vueDefineComponent({
|
|
|
222
240
|
endEdit: function () {
|
|
223
241
|
return this.ej2Instances.endEdit();
|
|
224
242
|
},
|
|
243
|
+
endEditAsync: function () {
|
|
244
|
+
return this.ej2Instances.endEditAsync();
|
|
245
|
+
},
|
|
225
246
|
excelExport: function (excelExportProperties, isMultipleExport, workbook, isBlob) {
|
|
226
247
|
return this.ej2Instances.excelExport(excelExportProperties, isMultipleExport, workbook, isBlob);
|
|
227
248
|
},
|
|
@@ -231,6 +252,9 @@ export var GridComponent = vueDefineComponent({
|
|
|
231
252
|
filterByColumn: function (fieldName, filterOperator, filterValue, predicate, matchCase, ignoreAccent, actualFilterValue, actualOperator) {
|
|
232
253
|
return this.ej2Instances.filterByColumn(fieldName, filterOperator, filterValue, predicate, matchCase, ignoreAccent, actualFilterValue, actualOperator);
|
|
233
254
|
},
|
|
255
|
+
filterByColumnAsync: function (fieldName, filterOperator, filterValue, predicate, matchCase, ignoreAccent, actualFilterValue, actualOperator) {
|
|
256
|
+
return this.ej2Instances.filterByColumnAsync(fieldName, filterOperator, filterValue, predicate, matchCase, ignoreAccent, actualFilterValue, actualOperator);
|
|
257
|
+
},
|
|
234
258
|
freezeRefresh: function () {
|
|
235
259
|
return this.ej2Instances.freezeRefresh();
|
|
236
260
|
},
|
|
@@ -357,6 +381,9 @@ export var GridComponent = vueDefineComponent({
|
|
|
357
381
|
getPager: function () {
|
|
358
382
|
return this.ej2Instances.getPager();
|
|
359
383
|
},
|
|
384
|
+
getPersistColumns: function () {
|
|
385
|
+
return this.ej2Instances.getPersistColumns();
|
|
386
|
+
},
|
|
360
387
|
getPrimaryKeyFieldNames: function () {
|
|
361
388
|
return this.ej2Instances.getPrimaryKeyFieldNames();
|
|
362
389
|
},
|
|
@@ -402,12 +429,18 @@ export var GridComponent = vueDefineComponent({
|
|
|
402
429
|
goToPage: function (pageNo) {
|
|
403
430
|
return this.ej2Instances.goToPage(pageNo);
|
|
404
431
|
},
|
|
432
|
+
goToPageAsync: function (pageNo) {
|
|
433
|
+
return this.ej2Instances.goToPageAsync(pageNo);
|
|
434
|
+
},
|
|
405
435
|
groupCollapseAll: function () {
|
|
406
436
|
return this.ej2Instances.groupCollapseAll();
|
|
407
437
|
},
|
|
408
438
|
groupColumn: function (columnName) {
|
|
409
439
|
return this.ej2Instances.groupColumn(columnName);
|
|
410
440
|
},
|
|
441
|
+
groupColumnAsync: function (columnName) {
|
|
442
|
+
return this.ej2Instances.groupColumnAsync(columnName);
|
|
443
|
+
},
|
|
411
444
|
groupExpandAll: function () {
|
|
412
445
|
return this.ej2Instances.groupExpandAll();
|
|
413
446
|
},
|
|
@@ -468,6 +501,9 @@ export var GridComponent = vueDefineComponent({
|
|
|
468
501
|
search: function (searchString) {
|
|
469
502
|
return this.ej2Instances.search(searchString);
|
|
470
503
|
},
|
|
504
|
+
searchAsync: function (searchString) {
|
|
505
|
+
return this.ej2Instances.searchAsync(searchString);
|
|
506
|
+
},
|
|
471
507
|
selectCell: function (cellIndex, isToggle) {
|
|
472
508
|
return this.ej2Instances.selectCell(cellIndex, isToggle);
|
|
473
509
|
},
|
|
@@ -498,6 +534,12 @@ export var GridComponent = vueDefineComponent({
|
|
|
498
534
|
setCellValue: function (key, field, value) {
|
|
499
535
|
return this.ej2Instances.setCellValue(key, field, value);
|
|
500
536
|
},
|
|
537
|
+
setCellValueAsync: function (key, field, value, delay) {
|
|
538
|
+
return this.ej2Instances.setCellValueAsync(key, field, value, delay);
|
|
539
|
+
},
|
|
540
|
+
setColumns: function (columns) {
|
|
541
|
+
return this.ej2Instances.setColumns(columns);
|
|
542
|
+
},
|
|
501
543
|
setGridContent: function (element) {
|
|
502
544
|
return this.ej2Instances.setGridContent(element);
|
|
503
545
|
},
|
|
@@ -516,6 +558,9 @@ export var GridComponent = vueDefineComponent({
|
|
|
516
558
|
setRowData: function (key, rowData) {
|
|
517
559
|
return this.ej2Instances.setRowData(key, rowData);
|
|
518
560
|
},
|
|
561
|
+
setRowDataAsync: function (key, rowData, delay) {
|
|
562
|
+
return this.ej2Instances.setRowDataAsync(key, rowData, delay);
|
|
563
|
+
},
|
|
519
564
|
showAdaptiveFilterDialog: function () {
|
|
520
565
|
return this.ej2Instances.showAdaptiveFilterDialog();
|
|
521
566
|
},
|
|
@@ -534,12 +579,18 @@ export var GridComponent = vueDefineComponent({
|
|
|
534
579
|
sortColumn: function (columnName, direction, isMultiSort) {
|
|
535
580
|
return this.ej2Instances.sortColumn(columnName, direction, isMultiSort);
|
|
536
581
|
},
|
|
582
|
+
sortColumnAsync: function (columnName, direction, isMultiSort) {
|
|
583
|
+
return this.ej2Instances.sortColumnAsync(columnName, direction, isMultiSort);
|
|
584
|
+
},
|
|
537
585
|
startEdit: function () {
|
|
538
586
|
return this.ej2Instances.startEdit();
|
|
539
587
|
},
|
|
540
588
|
ungroupColumn: function (columnName) {
|
|
541
589
|
return this.ej2Instances.ungroupColumn(columnName);
|
|
542
590
|
},
|
|
591
|
+
ungroupColumnAsync: function (columnName) {
|
|
592
|
+
return this.ej2Instances.ungroupColumnAsync(columnName);
|
|
593
|
+
},
|
|
543
594
|
unpinRows: function (data) {
|
|
544
595
|
return this.ej2Instances.unpinRows(data);
|
|
545
596
|
},
|
|
@@ -552,6 +603,9 @@ export var GridComponent = vueDefineComponent({
|
|
|
552
603
|
updateRow: function (index, data) {
|
|
553
604
|
return this.ej2Instances.updateRow(index, data);
|
|
554
605
|
},
|
|
606
|
+
updateRowAsync: function (index, data) {
|
|
607
|
+
return this.ej2Instances.updateRowAsync(index, data);
|
|
608
|
+
},
|
|
555
609
|
updateRowValue: function (key, rowData) {
|
|
556
610
|
return this.ej2Instances.updateRowValue(key, rowData);
|
|
557
611
|
},
|