SMART datagrid v1.4 > Classes > EditOptions

[ grids ver.1.4.5]   Back  Forward

DataLudi.EditOptions.labelToValueWhenPaste  property

true면 라벨값을 붙여넣기 할경우 value값으로 변경하여 값이 저장된다. 

기본값은 false.

Getter
function labelToValueWhenPaste(): Boolean
Setter
function setLabelToValueWhenPaste(value: Boolean)
Code -1
    grid.setEditOptions({
        labelToValueWhenPaste: true
    });
    
    //혹은
    grid.setOptions({
        edit:{
           labelToValueWhenPaste: true
       }
    });
See Also
commitWhenPaste
commitWhenNoEdit
pasteCallback