au-widget-datasheet/IWidgetDatasheetConfig
Classes
DataSheetTableTexts
Represents table notification texts.
Constructors
Constructor
new DataSheetTableTexts(init?): DataSheetTableTexts;
Parameters
| Parameter | Type |
|---|---|
init? | Partial<DataSheetTableTexts> |
Returns
Properties
tableIsEmpty
tableIsEmpty: string;
A message to be displayed when the table has no rows.
tableNotCreatedText
tableNotCreatedText: string;
A message to be displayed when the table is not created.
Interfaces
IWidgetDataSheetColumnScheme
Represents a column scheme for a table.
Properties
barcodeFormat?
optional barcodeFormat?: string;
barcodeSubType?
optional barcodeSubType?: string;
name
name: string;
The field name.
readonly?
optional readonly?: boolean;
If true, disables field editing.
type?
optional type?: string;
The field type.
value
value: string;
The default value.
IWidgetDataSheetConfig
Provides properties that are used to create a Datasheet widget.
Properties
allowedFileTypes
allowedFileTypes: string | string[];
Allowed file types.
customTexts?
optional customTexts?: DataSheetTableTexts;
Custom notification texts.
data
data: IWidgetDataSheetColumnScheme[];
A column scheme for a table.
fileName
fileName: string;
The name of the output file.
hideButtonsLeft?
optional hideButtonsLeft?: boolean;
If true, hides the Export and Import buttons.
hideButtonsRight?
optional hideButtonsRight?: boolean;
If true, hide the Add row and Delete row buttons.
itemsPerPage
itemsPerPage: number;
The number of items shown on one page
onCellTextChange?
optional onCellTextChange?: Function | Function[];
onRowChange?
optional onRowChange?: Function | Function[];
order?
optional order?: string[];
Array of column names defining the sort order.
scrollToRowEnabled?
optional scrollToRowEnabled?: boolean;
If true, scrolls the table to added or deleted row.
tableData
tableData: DataSheetRow[];
Table content.
updateItem
updateItem: any;