forked from HTMLElements/smart-webcomponents-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmart.table.d.ts
443 lines (443 loc) · 27.8 KB
/
smart.table.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
import { Table } from './../index';
import { TableColumnSizeMode, TableEditMode, TableLoadColumnStateBehavior, TablePageSize, TableSelectionMode, TableSortMode, TableColumnGroup, TableColumn, TableConditionalFormatting, TableDataSourceSettings } from './../index';
import { AfterViewInit, ElementRef, OnInit, OnChanges, OnDestroy, SimpleChanges, EventEmitter } from '@angular/core';
import { BaseElement } from './smart.element';
export { TableColumnDataType, TableColumnFreeze, TableConditionalFormattingCondition, TableConditionalFormattingFontFamily, TableConditionalFormattingFontSize, TableColumnSizeMode, TableDataSourceSettingsSanitizeHTML, TableDataSourceSettingsSanitizeHTMLRender, TableDataSourceSettingsDataFieldDataType, TableDataSourceSettingsDataSourceType, TableEditMode, TableLoadColumnStateBehavior, TablePageSize, TableSelectionMode, TableSortMode, TableColumnGroup, TableColumn, TableConditionalFormatting, TableDataSourceSettings, TableDataSourceSettingsDataField, ElementRenderMode } from './../index';
export { Smart } from './smart.element';
export { Table } from './../index';
export declare class TableComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges {
constructor(ref: ElementRef<Table>);
private eventHandlers;
nativeElement: Table;
/** @description Creates the component on demand.
* @param properties An optional object of properties, which will be added to the template binded ones.
*/
createComponent(properties?: {}): any;
/** @description Enables or disables auto load state from the browser's localStorage. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is loaded, based on the value of the stateSettings property. */
autoLoadState: boolean;
/** @description Enables or disables auto save state to the browser's localStorage. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is saved, based on the value of the stateSettings property. */
autoSaveState: boolean;
/** @description Sets or gets a list of column groups that constitute the column header hierarchy. Note: when column header hierarchy is created, column resizing and auto-sizing is not supported. */
columnGroups: TableColumnGroup[];
/** @description Sets or gets the min width of columns when columnSizeMode is 'auto' or when resizing columns. This property has no effect on columns with programmatically set width. */
columnMinWidth: string | number;
/** @description Sets or gets whether the reordering of columns is enabled. */
columnReorder: boolean;
/** @description Sets or gets whether the resizing of columns is enabled. Note: column sizes continue to adhere to the behavior of the standard HTML table element's table-layout: fixed, upon which smart-table is based. */
columnResize: boolean;
/** @description This property affects the table sizing, when the columnSizeMode is 'default'. When 'columnResizeNormalize' is false, the Table will add an additional TH element, if all table columns have the 'width' property set. This is done in order to maintain your width settings. Otherwise, when the property is set to true, the Table will auto-fill the remaining space similar to the layout of standard HTML Tables. */
columnResizeNormalize: boolean;
/** @description Sets or gets whether when resizing a column, a feedback showing the new column width in px will be displayed. */
columnResizeFeedback: boolean;
/** @description Describes the columns properties. */
columns: TableColumn[];
/** @description Sets or gets details about conditional formatting to be applied to the Table's cells. */
conditionalFormatting: TableConditionalFormatting[];
/** @description Sets or gets the column menu. When you set this property to true, each column will have a column menu. From the column menu, you will be able to sort, filter, show or hide columns. */
columnMenu: boolean;
/** @description Sets or gets the column sizing behavior. In 'auto' mode Columns are automatically sized based on their content and the value of the columnMinWidth property, unless there is not enough space in the Table, in which case ellipses are shown. User-set static column width is still respected. In 'default' mode Columns are sized according to the rules of the standard HTML table element's table-layout: fixed. Custom width can also be applied to columns in this case by setting the column width property. */
columnSizeMode: TableColumnSizeMode | string;
/** @description Sets or gets whether the "Conditional Formatting" button appears in the Table's header (toolbar). Clicking this button opens a dialog with formatting options. */
conditionalFormattingButton: boolean;
/** @description This property determines the time in milliseconds after which the Table data is updated, when you vertically scroll. */
deferredScrollDelay: number;
/** @description When binding the dataSource property directly to an array (as opposed to an instance of JQX.DataAdapter), sets or gets the name of the data field in the source array to bind row ids to. */
dataRowId: string;
/** @description Determines the data source of the table component. The data source of the Table can be a regular Array or a DataAdapter instance. You can read more about the dataAdapter here - https://www.htmlelements.com/docs/data-adapter/. */
dataSource: any;
/** @description Sets the grid's data source settings when the dataSource property is set to an Array or URL. */
dataSourceSettings: TableDataSourceSettings;
/** @description Disables the interaction with the element. */
dataTransform: {
(record: any): void;
};
/** @description Sets or gets whether the Table can be edited. */
disabled: boolean;
/** @description Sets or gets the edit mode. */
editing: boolean;
/** @description Sets or gets whether Row hierarchies are expanded by default, when created. Use this property when you want your groups to be expanded by default, when the Table is grouped or when you use the Table in tree mode. */
editMode: TableEditMode | string;
/** @description Sets or gets whether the Table can be filtered. By default, the Table can be filtered by all string and numeric columns through a filter input in the header. */
expandHierarchy: boolean;
/** @description Sets or gets whether the Table can be filtered via a filter row. */
filtering: boolean;
/** @description Sets or gets the Table's filter operator. It determines whether 'and' or 'or' is used when applying column filters - cellvalue1 && cellvalue2 vs cellvalue1 || cellvalue2 */
filterRow: boolean;
/** @description Sets or gets the id of an HTML template element to be applied as a custom filter template. */
filterOperator: boolean;
/** @description Sets or gets the id of an HTML template element to be applied as footer row(s). */
filterTemplate: string;
/** @description Sets or gets whether Excel-like formulas can be passed as cell values. Formulas are always preceded by the = sign and are re-evaluated when cell values are changed. This feature depends on the third-party free plug-in formula-parser (the file formula-parser.min.js has to be referenced). */
footerRow: string;
/** @description Sets or gets whether the Table's footer is sticky/frozen. */
formulas: boolean;
/** @description Sets or gets whether the Table's column header is sticky/frozen. */
freezeFooter: boolean;
/** @description Sets or gets whether grouping the Table is enabled. */
freezeHeader: boolean;
/** @description Allows to customize the header of the element. The property accepts the id of an HTMLElement, HTMLTemplateElement, function or a string that will be parsed as HTML. When set to a function it contains one argument - the header element of the Table. */
grouping: boolean;
/** @description Sets or gets whether navigation with the keyboard is enabled in the Table. */
groupFormatFunction: {
(settings: {
value: any;
row: string | number;
column: string;
template?: any;
}): void;
};
/** @description Sets or gets whether the checkboxes are displayed in the selection column. */
headerRow: string | HTMLElement | Function;
/** @description Sets or gets the behavior when loading column settings either via autoLoadState or loadState. Applicable only when stateSettings contains 'columns'. */
keyboardNavigation: boolean;
/** @description Sets or gets the language. Used in conjunction with the property messages. */
hideSelectionColumn: boolean;
/** @description Sets or gets an object specifying strings used in the element that can be localized. Used in conjunction with the property locale. */
loadColumnStateBehavior: TableLoadColumnStateBehavior | string;
/** @description Sets or gets the page size (when paging is enabled). */
locale: string;
/** @description Sets or gets the current (zero-based) page index (when paging is enabled). */
messages: any;
/** @description Sets or gets whether paging is enabled. */
onCellRender: {
(data: any, dataField: string, value: any, cell: HTMLTableCellElement): void;
};
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
onColumnRender: {
(dataField: string, headerCell: HTMLTableCellElement): void;
};
/** @description Sets or gets a string template to be applied as row detail template. Each cell value in the master row can be placed in the detail row by specifying the cell's data field in double curly brackets (e.g. {{price}}. The details can then be displayed by expanding the row by clicking it. */
onInit: {
(): void;
};
/** @description Sets or gets an array of the Table's selected row's ids. */
onLoad: {
(): void;
};
/** @description Sets or gets whether row selection (via checkboxes) is enabled. */
onUpdateComplete: {
(): void;
};
/** @description Sets or gets the selection mode. Only applicable when selection is enabled. */
pageSize: TablePageSize | string;
/** @description Sets or gets whether row selection (via checkboxes) is hierarchical. When a parent row is selected, all sub rows are selected, too. */
pageIndex: number;
/** @description Determines the sorting mode of the Table. */
paging: boolean;
/** @description Sets or gets what settings of the Table's state can be saved (by autoSaveState or saveState) or loaded (by autoLoadState or loadState). */
rightToLeft: boolean;
/** @description Determines the theme. Theme defines the look of the element */
rowDetailTemplate: string;
/** @description Sets or gets whether when hovering a cell with truncated content, a tooltip with the full content will be shown. */
selected: any[];
/** @description Enables or disables HTML virtualization. This functionality allows for only visible rows to be rendered, resulting in an increased Table performance. */
selection: boolean;
/** @description undefined */
selectionMode: TableSelectionMode | string;
/** @description undefined */
selectionByHierarchy: boolean;
/** @description undefined */
sort: {
(dataSource: any, sortColumns: string[], directions: string[], defaultCompareFunctions: {
(firstRecord: any, secondRecord: any): number;
}[]): void;
};
/** @description undefined */
sortMode: TableSortMode | string;
/** @description undefined */
stateSettings: string[];
/** @description undefined */
theme: string;
/** @description undefined */
tooltip: boolean;
/** @description undefined */
virtualization: boolean;
/** @description This event is triggered when a cell edit operation has been initiated.
* @param event. The custom event. Custom event was created with: event.detail( id, dataField, row, value)
* id - The id of the row.
* dataField - The data field of the cell's column.
* row - The data of the cell's row.
* value - The data value of the cell.
*/
onCellBeginEdit: EventEmitter<CustomEvent>;
/** @description This event is triggered when a cell has been clicked.
* @param event. The custom event. Custom event was created with: event.detail( id, dataField, row, value, originalEvent)
* id - The cell's row id.
* dataField - The data field of the cell's column.
* row - The data of the cell's row.
* value - The data value of the cell.
* originalEvent - The 'click' event object.
*/
onCellClick: EventEmitter<CustomEvent>;
/** @description This event is triggered when a cell has been edited.
* @param event. The custom event. Custom event was created with: event.detail( id, dataField, row, value)
* id - The id of the row.
* dataField - The data field of the cell's column.
* row - The new data of the cell's row.
* value - The data value of the cell.
*/
onCellEndEdit: EventEmitter<CustomEvent>;
/** @description This event is triggered when the selection is changed. Within the event handler you can get the selection by using the 'getSelection' method.
* @param event. The custom event. Custom event was created with: event.detail( type)
* type - The type of action that initiated the selection change. Possible types: 'programmatic', 'interaction', 'remove'.
*/
onChange: EventEmitter<CustomEvent>;
/** @description This event is triggered when a row has been collapsed.
* @param event. The custom event. Custom event was created with: event.detail( id, record)
* id - The id of the collapsed row.
* record - The data of the collapsed row.
*/
onCollapse: EventEmitter<CustomEvent>;
/** @description This event is triggered when a row has been expanded.
* @param event. The custom event. Custom event was created with: event.detail( id, record)
* id - The id of the expanded row.
* record - The (aggregated) data of the expanded row.
*/
onExpand: EventEmitter<CustomEvent>;
/** @description This event is triggered when a column header cell has been clicked.
* @param event. The custom event. Custom event was created with: event.detail( dataField)
* dataField - The data field of the cell's column.
*/
onColumnClick: EventEmitter<CustomEvent>;
/** @description This event is triggered when a column menu is closed.
* @param event. The custom event. Custom event was created with: event.detail( dataField)
* dataField - The data field of the column.
*/
onCloseColumnMenu: EventEmitter<CustomEvent>;
/** @description This event is triggered when a column has been resized via dragging or double-click.
* @param event. The custom event. Custom event was created with: event.detail( dataField, headerCellElement, width)
* dataField - The data field of the column.
* headerCellElement - The column's header cell HTML element.
* width - The new width of the column.
*/
onColumnResize: EventEmitter<CustomEvent>;
/** @description This event is triggered when a filtering-related action is made.
* @param event. The custom event. Custom event was created with: event.detail( action, filters)
* action - The filtering action. Possible actions: 'add', 'remove'.
* filters - The added filters. Only when action is 'add'.
*/
onFilter: EventEmitter<CustomEvent>;
/** @description This event is triggered when a grouping-related action is made.
* @param event. The custom event. Custom event was created with: event.detail( action, dataField, label, path)
* action - The grouping action. Possible actions: 'add', 'collapse', 'expand', 'remove'.
* dataField - The data field of the column whose grouping is modified.
* label - The label of the group (only when collapsing/expanding).
* path - The group's path (only when collapsing/expanding). The path includes the path to the expanded/collapsed group starting from the root group. The indexes are joined with '.'. This parameter is available when the 'action' is 'expand' or 'collapse'.
*/
onGroup: EventEmitter<CustomEvent>;
/** @description This event is triggered when a column menu is opened.
* @param event. The custom event. Custom event was created with: event.detail( dataField)
* dataField - The data field of the column.
*/
onOpenColumnMenu: EventEmitter<CustomEvent>;
/** @description This event is triggered when a paging-related action is made.
* @param event. The custom event. Custom event was created with: event.detail( action)
* action - The paging action. Possible actions: 'pageIndexChange', 'pageSizeChange'.
*/
onPage: EventEmitter<CustomEvent>;
/** @description This event is triggered when a row edit operation has been initiated (only when editMode is 'row').
* @param event. The custom event. Custom event was created with: event.detail( id, row)
* id - The id of the row.
* row - The data of the row.
*/
onRowBeginEdit: EventEmitter<CustomEvent>;
/** @description This event is triggered when a row has been edited (only when editMode is 'row').
* @param event. The custom event. Custom event was created with: event.detail( id, row)
* id - The id of the row.
* row - The new data of the row.
*/
onRowEndEdit: EventEmitter<CustomEvent>;
/** @description This event is triggered when a column header cell has been clicked or sorting is applied programmatically using the Table API.
* @param event. The custom event. Custom event was created with: event.detail( columns, sortDataFields, sortOrders, sortDataTypes, type)
* columns - An array with information about the columns the Table has been sorted by.
* sortDataFields - An array with information about the data fields the Table has been sorted by.
* sortOrders - An array with information about the columns sort orders the Table has been sorted by.
* sortDataTypes - An array with information about the columns data types the Table has been sorted by.
* type - The type of action that initiated the data sort. Possible types: 'programmatic', 'interaction'
*/
onSort: EventEmitter<CustomEvent>;
/** @description Adds a new row. When you invoke the method, pass a JSON object with the row's data.
* @param {any} data. JSON object with the new row's data. Sample JSON: {firstName: 'Peter', lastName: 'Fuller'}.
*/
addRow(data: any): void;
/** @description Adds a filter to a specific column.
* @param {string} dataField. The column's data field.
* @param {any} filter. FilterGroup object or a Filter expression. Filter expression like: 'startsWith B'. Example 2: ['contains Andrew or contains Nancy'], Example 3: ['quantity', '<= 3 and >= 8']. Filter conditions which you can use in the expressions: '=', 'EQUAL','<>', 'NOT_EQUAL', '!=', '<', 'LESS_THAN','>', 'GREATER_THAN', '<=', 'LESS_THAN_OR_EQUAL', '>=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
*/
addFilter(dataField: string, filter: any): void;
/** @description Groups by a column.
* @param {string} dataField. The column's data field.
*/
addGroup(dataField: string): void;
/** @description Begins an edit operation.
* @param {string | number} row. The id of the row to edit.
* @param {string} dataField?. The dataField of the cell's column. May be omitted when <strong>editMode</strong> is <em>'row'</em>.
*/
beginEdit(row: string | number, dataField?: string): void;
/** @description Begins an update operation. Suspends all table refreshes and renders.
*/
beginUpdate(): void;
/** @description Ends the current edit operation and discards changes.
*/
cancelEdit(): void;
/** @description Clears applied filters.
*/
clearFilters(): void;
/** @description Clears grouping.
*/
clearGrouping(): void;
/** @description Clears selection.
*/
clearSelection(): void;
/** @description Clears the Table sorting.
*/
clearSort(): void;
/** @description Collapses all rows (in tree mode).
*/
collapseAllRows(): void;
/** @description Collapses all groups (in tree mode).
*/
collapseAllGroups(): void;
/** @description Collapses all row details. Rows that have details defined via the rowDetailTemplate will be collapsed.
*/
collapseAllRowDetails(): void;
/** @description Collapses a group.
* @param {string} index. The group's hierarchical index.
*/
collapseGroup(index: string): void;
/** @description Collapses a row (in tree mode).
* @param {string | number} rowId. The id of the row to collapse.
*/
collapseRow(rowId: string | number): void;
/** @description Disables a selection of a row. When the 'selection' property is set to 'true', selection is enabled for all rows by default.
* @param {string | number | (string | number)[]} rowId. The id of the row (or an array of row ids) to select.
*/
disableSelect(rowId: string | number | (string | number)[]): void;
/** @description Enables a selection of a row, if it was previously disabled through a 'disableSelect' method call. When the 'selection' property is set to 'true', selection is enabled for all rows by default.
* @param {string | number | (string | number)[]} rowId. The id of the row (or an array of row ids) to select.
*/
enableSelect(rowId: string | number | (string | number)[]): void;
/** @description Ends the current edit operation and saves changes.
*/
endEdit(): void;
/** @description Ends an update operation. Resumes all table refreshes and renders. Re-renders the Table.
* @param {boolean} refresh?. Optionally you can pass 'false' in case you need to manually call the 'refresh' method. By default, the table is re-rendered.
*/
endUpdate(refresh?: boolean): void;
/** @description Expands all rows (in tree mode).
*/
expandAllRows(): void;
/** @description Expands all groups (in tree mode).
*/
expandAllGroups(): void;
/** @description Expands all row details. Rows that have details defined via rowDetailTemplate will be expanded.
*/
expandAllRowDetails(): void;
/** @description Expands a group.
* @param {string} index. The group's hierarchical index.
*/
expandGroup(index: string): void;
/** @description Expands a row (in tree mode).
* @param {string | number} rowId. The id of the row to expand.
*/
expandRow(rowId: string | number): void;
/** @description Exports the Table's data.
* @param {string} dataFormat. The file format to export to. Supported formats: 'csv', 'html', 'json', 'pdf', 'tsv', 'xlsx', 'xml'.
* @param {string} fileName?. The name of the file to export to
* @param {boolean} exportFiltered?. If set to true, exports only filtered records
* @param {Function} callback?. A callback function to pass the exported data to (if fileName is not provided)
* @returns {any}
*/
exportData(dataFormat: any, fileName?: any, exportFiltered?: any, callback?: any): Promise<any>;
/** @description Returns an array of selected row ids.
* @returns {(string | number)[]}
*/
getSelection(): Promise<any>;
/** @description Returns the Table's state, containing information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns. It can then be stored or passed to the method loadState.
* @returns {any}
*/
getState(): Promise<any>;
/** @description Returns the value of a cell.
* @param {string | number} row. The id of the cell's row.
* @param {string} dataField. The dataField of the cell's column.
* @returns {any}
*/
getValue(row: any, dataField: any): Promise<any>;
/** @description Gets a column property.
* @param {string} columnDataField. Column field name.
* @param {string} propertyName. Column property name.
* @returns {any}
*/
getColumnProperty(columnDataField: any, propertyName: any): Promise<any>;
/** @description Checks whether a group is expanded and returns true or false. false is returned when the group index is undefined, too.
* @param {string} index. The group's hierarchical index.
* @returns {boolean}
*/
isGroupExpanded(index: any): Promise<any>;
/** @description Loads the Table's state. Information about columns, expanded rows, selected rows, applied fitering, grouping, and sorted columns is loaded, based on the value of the stateSettings property.
* @param {any} state?. An object returned by one of the methods <strong>getState</strong> or <strong>saveState</strong>. If a state is not passed, the method tries to load the state from the browser's localStorage.
*/
loadState(state?: any): void;
/** @description Navigates to a page.
* @param {number} pageIndex. The zero-based page index to navigate to.
*/
navigateTo(pageIndex: number): void;
/** @description Refreshes the table.
*/
refresh(): void;
/** @description Removes filters applied to a specific column.
* @param {string} dataField. The column's data field.
*/
removeFilter(dataField: string): void;
/** @description Removes grouping by a column.
* @param {string} dataField. The column's data field.
*/
removeGroup(dataField: string): void;
/** @description Removes a row by its id.
* @param {string | number} row. The id of the cell's row.
*/
removeRow(row: string | number): void;
/** @description 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.
* @returns {any}
*/
saveState(): Promise<any>;
/** @description Selects one or more rows.
* @param {string | number | (string | number)[]} rowId. The id of the row (or an array of row ids) to select.
*/
select(rowId: string | number | (string | number)[]): void;
/** @description Sets the value of a cell.
* @param {string | number} row. The id of the cell's row.
* @param {string} dataField. The dataField of the cell's column.
* @param {any} value. The new value of the cell.
*/
setValue(row: string | number, dataField: string, value: any): void;
/** @description Sorts the Table by a column.
* @param {string} columnDataField. Column field name.
* @param {string} sortOrder?. Sort order. Possible values: 'asc' (ascending), 'desc' (descending), and null (removes sorting by column). If not provided, toggles the sorting.
*/
sortBy(columnDataField: string, sortOrder?: string): void;
/** @description Sets a column property.
* @param {string} columnDataField. Column field name.
* @param {string} propertyName. Column property name.
* @param {any} propertyValue. Property value.
*/
setColumnProperty(columnDataField: string, propertyName: string, propertyValue: any): void;
/** @description Updates a table row. The method expects two parameters - row id and JSON object with the new row data.
* @param {string | number} rowId. The id of the row.
* @param {any} data. JSON object with the new row's data. Example: {firstName: 'Peter', lastName: 'Fuller'}.
*/
updateRow(rowId: string | number, data: any): void;
/** @description Unselects one or more rows.
* @param {string | number | (string | number)[]} rowId. The id of the row (or an array of row ids) to unselect.
*/
unselect(rowId: string | number | (string | number)[]): void;
readonly isRendered: boolean;
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
ngOnChanges(changes: SimpleChanges): void;
/** @description Add event listeners. */
private listen;
/** @description Remove event listeners. */
private unlisten;
}