SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.fontName  property

It specifies the font name which will be used as the font of cell editor. 

If set fontName of individual editor as a nonempty value, this property will be ignored. You can specify the font size by fontSize

Defaults to "Tahoma".

Getter
function fontName(): String
Setter
function setFontName(value: String)
Code -1
    grid.setOptions({
        edit: {
            fontName: 'Courier New',
            fontSize: '11pt'
        }
    });
Code -2
    grid.setEditOptions({
        fontName: 'Courier New',
        fontSize: '11pt'
    });
Code -3
    grid.editOptions().setFontName('Courier New');
See Also
CellEditor.fontName
fontSize
Examples
Cell Editing