SMART datagrid v.1 > Classes > MaskCellEditor

[ grids ver.1.3.5]   Back  Forward

DataLudi.MaskCellEditor.stripEnd  property

If it is true, when saving editor value, it will save after removing the blanks of ending part of text. 

If set unmaskCallback, this property will be ignored. 

Defaults to false.

Getter
function stripEnd(): Boolean
Setter
function setStripEnd(value: Boolean)
Code -1
    grid.setColumns([{
        fieldName: "fld0",
        editor: {
            type: "mask",
            mask: 'LLL-000',
            stripBegin: true,
            stripEnd: true
        },
        ...
    },
        ...
    ];
See Also
Edit Mask Overview
unmaskCallback
stripBegin
stripInner
fillFromEnd
Examples
Mask Cell Editor