datatable.d.ts update
parent
dcaa64dec4
commit
47186d3a35
|
@ -120,9 +120,8 @@ export interface DataTableSortEvent {
|
||||||
rows: number;
|
rows: number;
|
||||||
/**
|
/**
|
||||||
* Field to sort against
|
* Field to sort against
|
||||||
* @todo
|
|
||||||
*/
|
*/
|
||||||
sortField: string | ((item: any) => string) | undefined | null;
|
sortField: string | ((item: any) => string) | undefined;
|
||||||
/**
|
/**
|
||||||
* Sort order as integer
|
* Sort order as integer
|
||||||
*/
|
*/
|
||||||
|
@ -130,7 +129,7 @@ export interface DataTableSortEvent {
|
||||||
/**
|
/**
|
||||||
* MultiSort metadata
|
* MultiSort metadata
|
||||||
*/
|
*/
|
||||||
multiSortMeta: DataTableSortMeta[] | undefined | null;
|
multiSortMeta: DataTableSortMeta[] | undefined;
|
||||||
/**
|
/**
|
||||||
* Collection of active filters
|
* Collection of active filters
|
||||||
* @see DataTableFilterMeta
|
* @see DataTableFilterMeta
|
||||||
|
@ -345,7 +344,8 @@ export interface DataTableRowExpandEvent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom row collapse event.
|
* Custom row collapse event.
|
||||||
* @see {@link DataTableEmits.rowgroupCollapse}
|
* @see rowgroup-collapse
|
||||||
|
* @todo
|
||||||
* @extends DataTableRowExpandEvent
|
* @extends DataTableRowExpandEvent
|
||||||
*/
|
*/
|
||||||
export interface DataTableRowCollapseEvent extends DataTableRowExpandEvent {}
|
export interface DataTableRowCollapseEvent extends DataTableRowExpandEvent {}
|
||||||
|
@ -375,7 +375,8 @@ export interface DataTableCellEditInitEvent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom cell edit cancel event.
|
* Custom cell edit cancel event.
|
||||||
* @see {@link DataTableEmits.cellEditInit}
|
* @see cell-edit-init
|
||||||
|
* @todo
|
||||||
* @extends DataTableCellEditInitEvent
|
* @extends DataTableCellEditInitEvent
|
||||||
*/
|
*/
|
||||||
export interface DataTableCellEditCancelEvent extends DataTableCellEditInitEvent {}
|
export interface DataTableCellEditCancelEvent extends DataTableCellEditInitEvent {}
|
||||||
|
@ -448,14 +449,14 @@ export interface DataTableRowEditInitEvent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom row edit init event.
|
* Custom row edit init event.
|
||||||
* @see {@link DataTableEmits.rowEditInit}
|
* @see row-edit-init
|
||||||
* @extends DataTableRowEditInitEvent
|
* @extends DataTableRowEditInitEvent
|
||||||
*/
|
*/
|
||||||
export interface DataTableRowEditSaveEvent extends DataTableRowEditInitEvent {}
|
export interface DataTableRowEditSaveEvent extends DataTableRowEditInitEvent {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom row edit cancel event.
|
* Custom row edit cancel event.
|
||||||
* @see {@link DataTableEmits.rowEditInit}
|
* @see row-edit-init
|
||||||
* @extends DataTableRowEditCancelEvent
|
* @extends DataTableRowEditCancelEvent
|
||||||
*/
|
*/
|
||||||
export interface DataTableRowEditCancelEvent extends DataTableRowEditInitEvent {}
|
export interface DataTableRowEditCancelEvent extends DataTableRowEditInitEvent {}
|
||||||
|
@ -484,7 +485,7 @@ export interface DataTableStateEvent {
|
||||||
/**
|
/**
|
||||||
* MultiSort metadata
|
* MultiSort metadata
|
||||||
*/
|
*/
|
||||||
multiSortMeta: DataTableSortMeta[] | undefined | null;
|
multiSortMeta: DataTableSortMeta[] | undefined;
|
||||||
/**
|
/**
|
||||||
* Collection of active filters
|
* Collection of active filters
|
||||||
* @see DataTableFilterMeta
|
* @see DataTableFilterMeta
|
||||||
|
@ -531,9 +532,8 @@ export interface DataTableProps {
|
||||||
value?: any[] | undefined | null;
|
value?: any[] | undefined | null;
|
||||||
/**
|
/**
|
||||||
* Name of the field that uniquely identifies the a record in the data.
|
* Name of the field that uniquely identifies the a record in the data.
|
||||||
* @defaultValue null
|
|
||||||
*/
|
*/
|
||||||
dataKey?: string | ((item: any) => string) | null | undefined;
|
dataKey?: string | ((item: any) => string) | undefined;
|
||||||
/**
|
/**
|
||||||
* Number of rows to display per page.
|
* Number of rows to display per page.
|
||||||
* @defaultValue 0
|
* @defaultValue 0
|
||||||
|
@ -587,9 +587,9 @@ export interface DataTableProps {
|
||||||
/**
|
/**
|
||||||
* Array of integer values to display inside rows per page dropdown.
|
* Array of integer values to display inside rows per page dropdown.
|
||||||
*/
|
*/
|
||||||
rowsPerPageOptions?: number[] | undefined | null;
|
rowsPerPageOptions?: number[] | undefined;
|
||||||
/**
|
/**
|
||||||
* Template of the current page report element. It displays information about the pagination state. Default value is ({currentPage} of {totalPages}) whereas available placeholders are the following;
|
* Template of the current page report element. It displays information about the pagination state. Available placeholders are the following;
|
||||||
*
|
*
|
||||||
* - {currentPage}
|
* - {currentPage}
|
||||||
* - {totalPages}
|
* - {totalPages}
|
||||||
|
@ -617,9 +617,8 @@ export interface DataTableProps {
|
||||||
loadingIcon?: string | undefined;
|
loadingIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Property name or a getter function of a row data used for sorting by default
|
* Property name or a getter function of a row data used for sorting by default
|
||||||
* @defaultValue null
|
|
||||||
*/
|
*/
|
||||||
sortField?: string | ((item: any) => string) | null | undefined;
|
sortField?: string | ((item: any) => string) | undefined;
|
||||||
/**
|
/**
|
||||||
* Order to sort the data by default.
|
* Order to sort the data by default.
|
||||||
*/
|
*/
|
||||||
|
@ -630,9 +629,9 @@ export interface DataTableProps {
|
||||||
*/
|
*/
|
||||||
defaultSortOrder?: number | undefined;
|
defaultSortOrder?: number | undefined;
|
||||||
/**
|
/**
|
||||||
* An array of SortMeta objects to sort the data by default in multiple sort mode.
|
* An array of SortMeta objects to sort the data.
|
||||||
*/
|
*/
|
||||||
multiSortMeta?: DataTableSortMeta[] | undefined | null;
|
multiSortMeta?: DataTableSortMeta[] | undefined;
|
||||||
/**
|
/**
|
||||||
* Defines whether sorting works on single column or on multiple columns.
|
* Defines whether sorting works on single column or on multiple columns.
|
||||||
* @defaultValue single
|
* @defaultValue single
|
||||||
|
@ -647,12 +646,11 @@ export interface DataTableProps {
|
||||||
* Filters object with key-value pairs to define the filters.
|
* Filters object with key-value pairs to define the filters.
|
||||||
* @see DataTableFilterMeta
|
* @see DataTableFilterMeta
|
||||||
*/
|
*/
|
||||||
filters?: DataTableFilterMeta | null;
|
filters?: DataTableFilterMeta;
|
||||||
/**
|
/**
|
||||||
* Layout of the filter elements, valid values are 'row' and 'menu'.
|
* Layout of the filter elements.
|
||||||
* @defaultValue null
|
|
||||||
*/
|
*/
|
||||||
filterDisplay?: 'menu' | 'row' | undefined | null;
|
filterDisplay?: 'menu' | 'row' | undefined;
|
||||||
/**
|
/**
|
||||||
* Fields for global filter
|
* Fields for global filter
|
||||||
*/
|
*/
|
||||||
|
@ -666,12 +664,11 @@ export interface DataTableProps {
|
||||||
*/
|
*/
|
||||||
selection?: any[] | any | undefined;
|
selection?: any[] | any | undefined;
|
||||||
/**
|
/**
|
||||||
* Specifies the selection mode, valid values are 'single' and 'multiple'.
|
* Specifies the selection mode.
|
||||||
* @defaultValue null
|
|
||||||
*/
|
*/
|
||||||
selectionMode?: 'single' | 'multiple' | undefined;
|
selectionMode?: 'single' | 'multiple' | undefined;
|
||||||
/**
|
/**
|
||||||
* Algorithm to define if a row is selected, valid values are 'equals' that compares by reference and 'deepEquals' that compares all fields.
|
* Algorithm to define if a row is selected.
|
||||||
* @defaultValue deepEquals
|
* @defaultValue deepEquals
|
||||||
*/
|
*/
|
||||||
compareSelectionBy?: 'equals' | 'deepEquals' | undefined;
|
compareSelectionBy?: 'equals' | 'deepEquals' | undefined;
|
||||||
|
@ -689,7 +686,7 @@ export interface DataTableProps {
|
||||||
/**
|
/**
|
||||||
* Selected row instance with the ContextMenu.
|
* Selected row instance with the ContextMenu.
|
||||||
*/
|
*/
|
||||||
contextMenuSelection?: any | any[] | undefined | null;
|
contextMenuSelection?: any | any[] | undefined;
|
||||||
/**
|
/**
|
||||||
* Whether all data is selected.
|
* Whether all data is selected.
|
||||||
*/
|
*/
|
||||||
|
@ -720,7 +717,7 @@ export interface DataTableProps {
|
||||||
*/
|
*/
|
||||||
resizableColumns?: boolean | undefined;
|
resizableColumns?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Defines whether the overall table width should change on column resize, valid values are 'fit' and 'expand'.
|
* Defines whether the overall table width.
|
||||||
* @defaultValue fit
|
* @defaultValue fit
|
||||||
*/
|
*/
|
||||||
columnResizeMode?: 'fit' | 'expand' | undefined;
|
columnResizeMode?: 'fit' | 'expand' | undefined;
|
||||||
|
@ -745,13 +742,11 @@ export interface DataTableProps {
|
||||||
*/
|
*/
|
||||||
collapsedRowIcon?: string | undefined;
|
collapsedRowIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Defines the row group mode, valid options are 'subheader' and 'rowspan'.
|
* Defines the row group mode.
|
||||||
* @defaultValue null
|
|
||||||
*/
|
*/
|
||||||
rowGroupMode?: 'subheader' | 'rowspan' | undefined | null;
|
rowGroupMode?: 'subheader' | 'rowspan' | undefined;
|
||||||
/**
|
/**
|
||||||
* One or more field names to use in row grouping.
|
* One or more field names to use in row grouping.
|
||||||
* @todo
|
|
||||||
*/
|
*/
|
||||||
groupRowsBy?: ((field: string) => object) | string[] | string | undefined;
|
groupRowsBy?: ((field: string) => object) | string[] | string | undefined;
|
||||||
/**
|
/**
|
||||||
|
@ -765,33 +760,31 @@ export interface DataTableProps {
|
||||||
*/
|
*/
|
||||||
expandedRowGroups?: any[] | DataTableExpandedRows;
|
expandedRowGroups?: any[] | DataTableExpandedRows;
|
||||||
/**
|
/**
|
||||||
* Defines where a stateful table keeps its state, valid values are 'session' for sessionStorage and 'local' for localStorage.
|
* Defines where a stateful table keeps its state.
|
||||||
* @defaultValue session
|
* @defaultValue session
|
||||||
*/
|
*/
|
||||||
stateStorage?: 'session' | 'local' | undefined;
|
stateStorage?: 'session' | 'local' | undefined;
|
||||||
/**
|
/**
|
||||||
* Unique identifier of a stateful table to use in state storage.
|
* Unique identifier of a stateful table to use in state storage.
|
||||||
*/
|
*/
|
||||||
stateKey?: string | undefined | null;
|
stateKey?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Defines the incell editing mode, valid options are 'cell' and 'row'.
|
* Defines the incell editing mode, valid options are 'cell' and 'row'.
|
||||||
* @defaultValue null
|
|
||||||
*/
|
*/
|
||||||
editMode?: 'cell' | 'row' | undefined | null;
|
editMode?: 'cell' | 'row' | undefined;
|
||||||
/**
|
/**
|
||||||
* A collection of rows to represent the current editing data in row edit mode.
|
* A collection of rows to represent the current editing data in row edit mode.
|
||||||
* @see DataTableEditingRows
|
* @see DataTableEditingRows
|
||||||
*/
|
*/
|
||||||
editingRows?: any[] | DataTableEditingRows | null;
|
editingRows?: any[] | DataTableEditingRows;
|
||||||
/**
|
/**
|
||||||
* A function that takes the row data as a parameter and returns a string to apply a particular class for the row.
|
* A function that takes the row data as a parameter and returns a string to apply a particular class for the row.
|
||||||
* @todo
|
|
||||||
*/
|
*/
|
||||||
rowClass?: (data: any) => object | string | undefined | null;
|
rowClass?: (data: any) => object | string | undefined;
|
||||||
/**
|
/**
|
||||||
* A function that takes the row data as a parameter and returns the inline style for the corresponding row.
|
* A function that takes the row data as a parameter and returns the inline style for the corresponding row.
|
||||||
*/
|
*/
|
||||||
rowStyle?: any | null;
|
rowStyle?: any;
|
||||||
/**
|
/**
|
||||||
* When specified, enables horizontal and/or vertical scrolling.
|
* When specified, enables horizontal and/or vertical scrolling.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
|
@ -799,15 +792,14 @@ export interface DataTableProps {
|
||||||
scrollable?: boolean | undefined;
|
scrollable?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Height of the scroll viewport in fixed pixels or the 'flex' keyword for a dynamic size.
|
* Height of the scroll viewport in fixed pixels or the 'flex' keyword for a dynamic size.
|
||||||
* @defaultValue null
|
|
||||||
*/
|
*/
|
||||||
scrollHeight?: 'flex' | string | undefined | null;
|
scrollHeight?: 'flex' | string | undefined;
|
||||||
/**
|
/**
|
||||||
* Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.
|
* Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.
|
||||||
* Note: Currently only vertical orientation mode is supported.
|
* Note: Currently only vertical orientation mode is supported.
|
||||||
* @see VirtualScroller.VirtualScrollerProps
|
* @see VirtualScroller.VirtualScrollerProps
|
||||||
*/
|
*/
|
||||||
virtualScrollerOptions?: VirtualScrollerProps | null;
|
virtualScrollerOptions?: VirtualScrollerProps;
|
||||||
/**
|
/**
|
||||||
* Items of the frozen part in scrollable DataTable.
|
* Items of the frozen part in scrollable DataTable.
|
||||||
*/
|
*/
|
||||||
|
@ -830,19 +822,19 @@ export interface DataTableProps {
|
||||||
/**
|
/**
|
||||||
* Inline style of the table element.
|
* Inline style of the table element.
|
||||||
*/
|
*/
|
||||||
tableStyle?: any | null;
|
tableStyle?: any;
|
||||||
/**
|
/**
|
||||||
* Style class of the table element.
|
* Style class of the table element.
|
||||||
*/
|
*/
|
||||||
tableClass?: any | null;
|
tableClass?: any;
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the TableHTMLAttributes to table element inside the component.
|
* Uses to pass all properties of the TableHTMLAttributes to table element inside the component.
|
||||||
*/
|
*/
|
||||||
tableProps?: TableHTMLAttributes | undefined | null;
|
tableProps?: TableHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable filter input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable filter input element inside the component.
|
||||||
*/
|
*/
|
||||||
filterInputProps?: InputHTMLAttributes | undefined | null;
|
filterInputProps?: InputHTMLAttributes | undefined;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Defines valid slots in Datatable component.
|
* Defines valid slots in Datatable component.
|
||||||
|
@ -1067,12 +1059,12 @@ export interface DataTableEmits {
|
||||||
* Callback to invoke when a row group is collapsed.
|
* Callback to invoke when a row group is collapsed.
|
||||||
* @param {DataTableRowCollapseEvent} event - Custom row collapse event.
|
* @param {DataTableRowCollapseEvent} event - Custom row collapse event.
|
||||||
*/
|
*/
|
||||||
rowgroupCollapse(event: DataTableRowCollapseEvent): void;
|
'rowgroup-collapse'(event: DataTableRowCollapseEvent): void;
|
||||||
/**
|
/**
|
||||||
* Callback to invoke when cell edit is initiated.
|
* Callback to invoke when cell edit is initiated.
|
||||||
* @param {DataTableCellEditInitEvent} event - Custom cell edit init.
|
* @param {DataTableCellEditInitEvent} event - Custom cell edit init.
|
||||||
*/
|
*/
|
||||||
cellEditInit(event: DataTableCellEditInitEvent): void;
|
'cell-edit-init'(event: DataTableCellEditInitEvent): void;
|
||||||
/**
|
/**
|
||||||
* Callback to invoke when cell edit is completed.
|
* Callback to invoke when cell edit is completed.
|
||||||
* @param {DataTableCellEditCompleteEvent} event - Custom cell edit complete event.
|
* @param {DataTableCellEditCompleteEvent} event - Custom cell edit complete event.
|
||||||
|
@ -1087,7 +1079,7 @@ export interface DataTableEmits {
|
||||||
* Callback to invoke when row edit is initiated.
|
* Callback to invoke when row edit is initiated.
|
||||||
* @param {DataTableRowEditInitEvent} event - Custom row edit init event.
|
* @param {DataTableRowEditInitEvent} event - Custom row edit init event.
|
||||||
*/
|
*/
|
||||||
rowEditInit(event: DataTableRowEditInitEvent): void;
|
'row-edit-init'(event: DataTableRowEditInitEvent): void;
|
||||||
/**
|
/**
|
||||||
* Callback to invoke when row edit is saved.
|
* Callback to invoke when row edit is saved.
|
||||||
* @param {DataTableRowEditSaveEvent} event - Custom row edit save event.
|
* @param {DataTableRowEditSaveEvent} event - Custom row edit save event.
|
||||||
|
@ -1136,23 +1128,4 @@ declare module '@vue/runtime-core' {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* DataTable displays data in tabular format.
|
|
||||||
*
|
|
||||||
* Helper Components:
|
|
||||||
*
|
|
||||||
* - Column
|
|
||||||
* - ColumnGroup
|
|
||||||
* - Row
|
|
||||||
*
|
|
||||||
* Demos:
|
|
||||||
*
|
|
||||||
* - [DataTable](https://www.primefaces.org/primevue/datatable)
|
|
||||||
* - [Edit](https://www.primefaces.org/primevue/datatable/edit)
|
|
||||||
* - [Sort](https://www.primefaces.org/primevue/datatable/sort)
|
|
||||||
* - [Filter](https://www.primefaces.org/primevue/datatable/filter)
|
|
||||||
* etc.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
export default DataTable;
|
export default DataTable;
|
||||||
|
|
|
@ -6833,7 +6833,7 @@
|
||||||
"name": "multiSortMeta",
|
"name": "multiSortMeta",
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "undefined | null | DataTableSortMeta[]",
|
"type": "undefined | DataTableSortMeta[]",
|
||||||
"description": "MultiSort metadata"
|
"description": "MultiSort metadata"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -6885,7 +6885,7 @@
|
||||||
"values": {
|
"values": {
|
||||||
"DataTableCellEditCancelEvent": {
|
"DataTableCellEditCancelEvent": {
|
||||||
"description": "Custom cell edit cancel event.",
|
"description": "Custom cell edit cancel event.",
|
||||||
"relatedProp": "cellEditInit",
|
"relatedProp": "cell-edit-init",
|
||||||
"props": [
|
"props": [
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
|
@ -6968,7 +6968,7 @@
|
||||||
"description": "Callback to invoke when cell edit is completed."
|
"description": "Callback to invoke when cell edit is completed."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "cellEditInit",
|
"name": "cell-edit-init",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"name": "event",
|
"name": "event",
|
||||||
|
@ -7096,6 +7096,19 @@
|
||||||
"returnType": "void",
|
"returnType": "void",
|
||||||
"description": "Callback to invoke when row edit is cancelled."
|
"description": "Callback to invoke when row edit is cancelled."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "row-edit-init",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "event",
|
||||||
|
"optional": false,
|
||||||
|
"type": "DataTableRowEditInitEvent",
|
||||||
|
"description": "Custom row edit init event."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"returnType": "void",
|
||||||
|
"description": "Callback to invoke when row edit is initiated."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "row-edit-save",
|
"name": "row-edit-save",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
|
@ -7188,17 +7201,17 @@
|
||||||
"description": "Fired when header checkbox is unchecked."
|
"description": "Fired when header checkbox is unchecked."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "rowEditInit",
|
"name": "rowgroup-collapse",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"name": "event",
|
"name": "event",
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"type": "DataTableRowEditInitEvent",
|
"type": "DataTableRowCollapseEvent",
|
||||||
"description": "Custom row edit init event."
|
"description": "Custom row collapse event."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"returnType": "void",
|
"returnType": "void",
|
||||||
"description": "Callback to invoke when row edit is initiated."
|
"description": "Callback to invoke when a row group is collapsed."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "rowgroup-expand",
|
"name": "rowgroup-expand",
|
||||||
|
@ -7213,19 +7226,6 @@
|
||||||
"returnType": "void",
|
"returnType": "void",
|
||||||
"description": "Callback to invoke when a row group is expanded."
|
"description": "Callback to invoke when a row group is expanded."
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "rowgroupCollapse",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"name": "event",
|
|
||||||
"optional": false,
|
|
||||||
"type": "DataTableRowCollapseEvent",
|
|
||||||
"description": "Custom row collapse event."
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"returnType": "void",
|
|
||||||
"description": "Callback to invoke when a row group is collapsed."
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "select-all-change",
|
"name": "select-all-change",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
|
@ -7527,7 +7527,7 @@
|
||||||
"name": "multiSortMeta",
|
"name": "multiSortMeta",
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "undefined | null | DataTableSortMeta[]",
|
"type": "undefined | DataTableSortMeta[]",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "MultiSort metadata"
|
"description": "MultiSort metadata"
|
||||||
},
|
},
|
||||||
|
@ -7551,7 +7551,7 @@
|
||||||
"name": "sortField",
|
"name": "sortField",
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "undefined | null | string | Function",
|
"type": "undefined | string | Function",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Field to sort against"
|
"description": "Field to sort against"
|
||||||
},
|
},
|
||||||
|
@ -7658,7 +7658,7 @@
|
||||||
"name": "multiSortMeta",
|
"name": "multiSortMeta",
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "undefined | null | DataTableSortMeta[]",
|
"type": "undefined | DataTableSortMeta[]",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "MultiSort metadata"
|
"description": "MultiSort metadata"
|
||||||
},
|
},
|
||||||
|
@ -7698,7 +7698,7 @@
|
||||||
"name": "sortField",
|
"name": "sortField",
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "undefined | null | string | Function",
|
"type": "undefined | string | Function",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Field to sort against"
|
"description": "Field to sort against"
|
||||||
},
|
},
|
||||||
|
@ -7748,7 +7748,7 @@
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "\"fit\" | \"expand\"",
|
"type": "\"fit\" | \"expand\"",
|
||||||
"default": "fit",
|
"default": "fit",
|
||||||
"description": "Defines whether the overall table width should change on column resize, valid values are 'fit' and 'expand'."
|
"description": "Defines whether the overall table width."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "compareSelectionBy",
|
"name": "compareSelectionBy",
|
||||||
|
@ -7756,7 +7756,7 @@
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "\"equals\" | \"deepEquals\"",
|
"type": "\"equals\" | \"deepEquals\"",
|
||||||
"default": "deepEquals",
|
"default": "deepEquals",
|
||||||
"description": "Algorithm to define if a row is selected, valid values are 'equals' that compares by reference and 'deepEquals' that compares all fields."
|
"description": "Algorithm to define if a row is selected."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "contextMenu",
|
"name": "contextMenu",
|
||||||
|
@ -7788,14 +7788,14 @@
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "'({currentPage} of {totalPages})'",
|
"default": "'({currentPage} of {totalPages})'",
|
||||||
"description": "Template of the current page report element. It displays information about the pagination state. Default value is ({currentPage} of {totalPages}) whereas available placeholders are the following;\n\n- {currentPage}\n- {totalPages}\n- {rows}\n- {first}\n- {last}\n- {totalRecords}"
|
"description": "Template of the current page report element. It displays information about the pagination state. Available placeholders are the following;\n\n- {currentPage}\n- {totalPages}\n- {rows}\n- {first}\n- {last}\n- {totalRecords}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dataKey",
|
"name": "dataKey",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | string | Function",
|
"type": "string | Function",
|
||||||
"default": "null",
|
"default": "",
|
||||||
"description": "Name of the field that uniquely identifies the a record in the data."
|
"description": "Name of the field that uniquely identifies the a record in the data."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -7810,15 +7810,15 @@
|
||||||
"name": "editMode",
|
"name": "editMode",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | \"cell\" | \"row\"",
|
"type": "\"cell\" | \"row\"",
|
||||||
"default": "null",
|
"default": "",
|
||||||
"description": "Defines the incell editing mode, valid options are 'cell' and 'row'."
|
"description": "Defines the incell editing mode, valid options are 'cell' and 'row'."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "editingRows",
|
"name": "editingRows",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | any[] | DataTableEditingRows",
|
"type": "any[] | DataTableEditingRows",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "A collection of rows to represent the current editing data in row edit mode."
|
"description": "A collection of rows to represent the current editing data in row edit mode."
|
||||||
},
|
},
|
||||||
|
@ -7866,15 +7866,15 @@
|
||||||
"name": "filterDisplay",
|
"name": "filterDisplay",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | \"menu\" | \"row\"",
|
"type": "\"menu\" | \"row\"",
|
||||||
"default": "null",
|
"default": "",
|
||||||
"description": "Layout of the filter elements, valid values are 'row' and 'menu'."
|
"description": "Layout of the filter elements."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "filterInputProps",
|
"name": "filterInputProps",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | InputHTMLAttributes",
|
"type": "InputHTMLAttributes",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Uses to pass all properties of the HTMLInputElement to the focusable filter input element inside the component."
|
"description": "Uses to pass all properties of the HTMLInputElement to the focusable filter input element inside the component."
|
||||||
},
|
},
|
||||||
|
@ -7890,7 +7890,7 @@
|
||||||
"name": "filters",
|
"name": "filters",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | DataTableFilterMeta",
|
"type": "DataTableFilterMeta",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Filters object with key-value pairs to define the filters."
|
"description": "Filters object with key-value pairs to define the filters."
|
||||||
},
|
},
|
||||||
|
@ -7962,9 +7962,9 @@
|
||||||
"name": "multiSortMeta",
|
"name": "multiSortMeta",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | DataTableSortMeta[]",
|
"type": "DataTableSortMeta[]",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "An array of SortMeta objects to sort the data by default in multiple sort mode."
|
"description": "An array of SortMeta objects to sort the data."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pageLinkSize",
|
"name": "pageLinkSize",
|
||||||
|
@ -8033,9 +8033,9 @@
|
||||||
"name": "rowGroupMode",
|
"name": "rowGroupMode",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | \"rowspan\" | \"subheader\"",
|
"type": "\"rowspan\" | \"subheader\"",
|
||||||
"default": "null",
|
"default": "",
|
||||||
"description": "Defines the row group mode, valid options are 'subheader' and 'rowspan'."
|
"description": "Defines the row group mode."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "rowHover",
|
"name": "rowHover",
|
||||||
|
@ -8065,7 +8065,7 @@
|
||||||
"name": "rowsPerPageOptions",
|
"name": "rowsPerPageOptions",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | number[]",
|
"type": "number[]",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Array of integer values to display inside rows per page dropdown."
|
"description": "Array of integer values to display inside rows per page dropdown."
|
||||||
},
|
},
|
||||||
|
@ -8073,8 +8073,8 @@
|
||||||
"name": "scrollHeight",
|
"name": "scrollHeight",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | string",
|
"type": "string",
|
||||||
"default": "null",
|
"default": "",
|
||||||
"description": "Height of the scroll viewport in fixed pixels or the 'flex' keyword for a dynamic size."
|
"description": "Height of the scroll viewport in fixed pixels or the 'flex' keyword for a dynamic size."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -8106,8 +8106,8 @@
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "\"multiple\" | \"single\"",
|
"type": "\"multiple\" | \"single\"",
|
||||||
"default": "null",
|
"default": "",
|
||||||
"description": "Specifies the selection mode, valid values are 'single' and 'multiple'."
|
"description": "Specifies the selection mode."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "showGridlines",
|
"name": "showGridlines",
|
||||||
|
@ -8121,8 +8121,8 @@
|
||||||
"name": "sortField",
|
"name": "sortField",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | string | Function",
|
"type": "string | Function",
|
||||||
"default": "null",
|
"default": "",
|
||||||
"description": "Property name or a getter function of a row data used for sorting by default"
|
"description": "Property name or a getter function of a row data used for sorting by default"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -8145,7 +8145,7 @@
|
||||||
"name": "stateKey",
|
"name": "stateKey",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | string",
|
"type": "string",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Unique identifier of a stateful table to use in state storage."
|
"description": "Unique identifier of a stateful table to use in state storage."
|
||||||
},
|
},
|
||||||
|
@ -8155,7 +8155,7 @@
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "\"local\" | \"session\"",
|
"type": "\"local\" | \"session\"",
|
||||||
"default": "session",
|
"default": "session",
|
||||||
"description": "Defines where a stateful table keeps its state, valid values are 'session' for sessionStorage and 'local' for localStorage."
|
"description": "Defines where a stateful table keeps its state."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stripedRows",
|
"name": "stripedRows",
|
||||||
|
@ -8177,7 +8177,7 @@
|
||||||
"name": "tableProps",
|
"name": "tableProps",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | TableHTMLAttributes",
|
"type": "TableHTMLAttributes",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Uses to pass all properties of the TableHTMLAttributes to table element inside the component."
|
"description": "Uses to pass all properties of the TableHTMLAttributes to table element inside the component."
|
||||||
},
|
},
|
||||||
|
@ -8209,7 +8209,7 @@
|
||||||
"name": "virtualScrollerOptions",
|
"name": "virtualScrollerOptions",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "null | VirtualScrollerProps",
|
"type": "VirtualScrollerProps",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.\nNote: Currently only vertical orientation mode is supported."
|
"description": "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.\nNote: Currently only vertical orientation mode is supported."
|
||||||
}
|
}
|
||||||
|
@ -8231,7 +8231,7 @@
|
||||||
},
|
},
|
||||||
"DataTableRowCollapseEvent": {
|
"DataTableRowCollapseEvent": {
|
||||||
"description": "Custom row collapse event.",
|
"description": "Custom row collapse event.",
|
||||||
"relatedProp": "rowgroupCollapse",
|
"relatedProp": "rowgroup-collapse",
|
||||||
"props": [
|
"props": [
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
|
@ -8319,7 +8319,7 @@
|
||||||
},
|
},
|
||||||
"DataTableRowEditCancelEvent": {
|
"DataTableRowEditCancelEvent": {
|
||||||
"description": "Custom row edit cancel event.",
|
"description": "Custom row edit cancel event.",
|
||||||
"relatedProp": "rowEditInit",
|
"relatedProp": "row-edit-init",
|
||||||
"props": [
|
"props": [
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
|
@ -8367,7 +8367,7 @@
|
||||||
},
|
},
|
||||||
"DataTableRowEditSaveEvent": {
|
"DataTableRowEditSaveEvent": {
|
||||||
"description": "Custom row edit init event.",
|
"description": "Custom row edit init event.",
|
||||||
"relatedProp": "rowEditInit",
|
"relatedProp": "row-edit-init",
|
||||||
"props": [
|
"props": [
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
|
@ -8566,7 +8566,7 @@
|
||||||
"name": "multiSortMeta",
|
"name": "multiSortMeta",
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "undefined | null | DataTableSortMeta[]",
|
"type": "undefined | DataTableSortMeta[]",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "MultiSort metadata"
|
"description": "MultiSort metadata"
|
||||||
},
|
},
|
||||||
|
@ -8590,7 +8590,7 @@
|
||||||
"name": "sortField",
|
"name": "sortField",
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "undefined | null | string | Function",
|
"type": "undefined | string | Function",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Field to sort against"
|
"description": "Field to sort against"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue