SMART datagrid v.1 > Classes > EditOptions
If it is true, when append rows by pasting, it will fill the values of field which is not contained in clipboard data with Default Value of Data Column.
At this point, if fillFieldDefaultsWhenPaste is true, when there is the value of data fields, it will be applied first, and if no value, the values of column will be applied.
Defaults to false.
grid.setOptions({
edit: {
erasable: true,
fillColumnDefaultsWhenPaste: true
}
});
grid.setEditOptions({
deletable: true,
fillColumnDefaultsWhenPaste: true
});
grid.editOptions().setFillColumnDefaultsWhenPaste(true);