SMART datagrid v.1 > Classes > MaskCellEditor

[ grids ver.1.3.5]   Back  Forward

DataLudi.MaskCellEditor.trimWhenCopy  property

If it is true, when copying the editor value to clipboard, it will copy after removing left and right blanks of string. 

Defaults to true.

Getter
function trimWhenCopy(): Boolean
Setter
function setTrimWhenCopy(value: Boolean)
Code -1
    grid.setColumns([{
        fieldName: "fld0",
        editor: {
            type: "mask",
            mask: 'LLL-000'
        },
        ...
    },
        ...
    ];
See Also
Edit Mask Overview
includeSeparators
includeLiterals
Examples
Mask Cell Editor