smart-webcomponents 15.2.3 → 15.2.9
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/package.json +1 -1
- package/source/angular/index.d.ts +1 -2
- package/source/angular/table/smart.table.ts +10 -13
- package/source/components/smart.ui.table.js +1 -1
- package/source/react/table/table.jsx +11 -5
- package/source/react/table/table.tsx +11 -5
- package/source/typescript/smart.elements.d.ts +1 -2
- package/source/typescript/smart.table.d.ts +1 -2
- package/source/modules/smart.ribbon.js +0 -286
- package/source/smart.ribbon.js +0 -6
- package/source/styles/components/smart.ribbon.css +0 -13
- package/source/styles/default/smart.ribbon.css +0 -235
|
@@ -1397,11 +1397,17 @@ export class Table extends React.Component {
|
|
|
1397
1397
|
}
|
|
1398
1398
|
|
|
1399
1399
|
/** Resets the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is cleared, based on the value of the stateSettings property.
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1400
|
+
*/
|
|
1401
|
+
resetState(){
|
|
1402
|
+
if (this.nativeElement.isRendered) {
|
|
1403
|
+
this.nativeElement.resetState();
|
|
1404
|
+
}
|
|
1405
|
+
else
|
|
1406
|
+
{
|
|
1407
|
+
this.nativeElement.whenRendered(() => {
|
|
1408
|
+
this.nativeElement.resetState();
|
|
1409
|
+
});
|
|
1410
|
+
}
|
|
1405
1411
|
}
|
|
1406
1412
|
|
|
1407
1413
|
/** Saves the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is saved, based on the value of the stateSettings property.
|
|
@@ -1359,11 +1359,17 @@ export class Table extends React.Component<React.HTMLAttributes<Element> & Table
|
|
|
1359
1359
|
}
|
|
1360
1360
|
|
|
1361
1361
|
/** Resets the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is cleared, based on the value of the stateSettings property.
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1362
|
+
*/
|
|
1363
|
+
public resetState(): void {
|
|
1364
|
+
if (this.nativeElement.isRendered) {
|
|
1365
|
+
this.nativeElement.resetState();
|
|
1366
|
+
}
|
|
1367
|
+
else
|
|
1368
|
+
{
|
|
1369
|
+
this.nativeElement.whenRendered(() => {
|
|
1370
|
+
this.nativeElement.resetState();
|
|
1371
|
+
});
|
|
1372
|
+
}
|
|
1367
1373
|
}
|
|
1368
1374
|
|
|
1369
1375
|
/** Saves the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is saved, based on the value of the stateSettings property.
|
|
@@ -29555,9 +29555,8 @@ export interface Table extends BaseElement, TableProperties {
|
|
|
29555
29555
|
removeRow(row: string | number): void;
|
|
29556
29556
|
/**
|
|
29557
29557
|
* Resets the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is cleared, based on the value of the <strong>stateSettings</strong> property.
|
|
29558
|
-
* @returns {none}
|
|
29559
29558
|
*/
|
|
29560
|
-
resetState():
|
|
29559
|
+
resetState(): void;
|
|
29561
29560
|
/**
|
|
29562
29561
|
* Saves the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is saved, based on the value of the <strong>stateSettings</strong> property.
|
|
29563
29562
|
* @returns {any}
|
|
@@ -653,9 +653,8 @@ export interface Table extends BaseElement, TableProperties {
|
|
|
653
653
|
removeRow(row: string | number): void;
|
|
654
654
|
/**
|
|
655
655
|
* Resets the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is cleared, based on the value of the <strong>stateSettings</strong> property.
|
|
656
|
-
* @returns {none}
|
|
657
656
|
*/
|
|
658
|
-
resetState():
|
|
657
|
+
resetState(): void;
|
|
659
658
|
/**
|
|
660
659
|
* Saves the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is saved, based on the value of the <strong>stateSettings</strong> property.
|
|
661
660
|
* @returns {any}
|