SMART datagrid v.1 > Classes > CellEditor
The option which automatically changes the text to case. It is specified by TextInputCase constant. It will separately change and store the text entered by user in the value specified by this property. If this value is DEFAULT, it will follow the value specified by DataColumn.textInputCase.
Defaults to TextInputCase.DEFAULT.
var columns = [{
name: "col1",
fieldName: "Data1",
editor: {
fontName: "Tahoma",
fontSize: "12",
textCase: DataLudi.TextInputCase.LOWER
},
....
}];
grid.setColumns(columns);
$('#setLower').click(function () {
var column = grid.columnByName('col1');
column && column.setEditor({
textCase: DataLudi.TextInputCase.LOWER
});
});