Interface IWidgetDataSheetConfig
Provides properties that are used to create a Datasheet widget.
Package: ui-framework
Properties
allowedFileTypes
Allowed file types.
Declaration
allowedFileTypes: string | string[]
Property Value
Type | Description |
---|---|
string | string[] | Allowed file types. |
customTexts
Custom notification texts.
Declaration
customTexts?: DataSheetTableTexts
Property Value
Type | Description |
---|---|
DataSheetTableTexts | Custom notification texts. |
data
A column scheme for a table.
Declaration
data: IWidgetDataSheetColumnScheme[]
Property Value
Type | Description |
---|---|
IWidgetDataSheetColumnScheme[] | A column scheme for a table. |
fileName
The name of the output file.
Declaration
fileName: string
Property Value
Type | Description |
---|---|
string | The name of the output file. |
hideButtonsLeft
If true
, hides the Export and Import buttons.
Declaration
hideButtonsLeft?: boolean
Property Value
Type | Description |
---|---|
boolean | If |
hideButtonsRight
If true
, hide the Add row and Delete row buttons.
Declaration
hideButtonsRight?: boolean
Property Value
Type | Description |
---|---|
boolean | If |
itemsPerPage
The number of items shown on one page
Declaration
itemsPerPage: number
Property Value
Type | Description |
---|---|
number | The number of items shown on one page |
onCellTextChange
Declaration
onCellTextChange?: Function | Array<Function>
Property Value
Type | Description |
---|---|
Function | Array<Function> |
onRowChange
Declaration
onRowChange?: Function | Array<Function>
Property Value
Type | Description |
---|---|
Function | Array<Function> |
order
Array of column names defining the sort order.
Declaration
order?: string[]
Property Value
Type | Description |
---|---|
string[] | Array of column names defining the sort order. |
scrollToRowEnabled
If true
, scrolls the table to added or deleted row.
Declaration
scrollToRowEnabled?: boolean
Property Value
Type | Description |
---|---|
boolean | If |
tableData
Table content.
Declaration
tableData: DataSheetRow[]
Property Value
Type | Description |
---|---|
DataSheetRow[] | Table content. |
updateItem
Declaration
updateItem: any
Property Value
Type | Description |
---|---|
any |