LongText (textarea)
defineGrid() {
this.columnDefinitions = [
{
id: 'title', name: 'Title', field: 'title',
editor: {
model: Editors.longText,
required: true, maxLength: 12,
// previously known as `editorOptions` for < 9.0
options: {
cols: 45,
rows: 6,
position: 'auto', // defaults to "auto" but you can change to "top", "bottom", "left" or "right"
buttonTexts: {
// you can change the button texts
cancel: 'Close',
save: 'Done'
// or if you use translation you can use the properties with `Key` suffix
// cancelKey: 'CANCEL',
// saveKey: 'SAVE',
}
} as LongTextEditorOption,
},
},
];
}Last updated