SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.copyNumberFormat  property

The format which converts the number to string when copy the value of NUMBER field cell to clipboard. 

Please refer to GridStyles.numberFormat about the conversion format. 

Getter
function copyNumberFormat(): String
Setter
function setCopyNumberFormat(value: String)
Code -1
    grid.setOptions({
        edit: {
            copyNumberFormat: '#,##0.00'
        }
    });
Code -2
    grid.setEditOptions({
        copyNumberFormat: '#,##0.00'
    });
Code -3
    grid.editOptions().setCopyDatetimeFormat('#,##0.00');
See Also
copyBooleanFormat
copyDatetimeFormat
GridStyles.numberFormat
Examples
Clipboard Copy