Line editor
The default text editor is Line Editor.
Line Editor is a basic editor that allows you to enter single-line text.
If editor is not specified in the column, it is designated as a line editor by default.
var columns = [
{
name: "OrderID",
fieldName: "OrderID",
editor: {
type: "line",
maxLength: 5
},
width: 90,
header: {
text: "Text editor",
styleName: "orange-column"
}
},
var textCase = $(':radio[name="rbTextCase"]:checked').val();
gridView.setColumnProperty("OrderID", "editor", { textCase: textCase });