SMART datagrid v.1 > Classes > EditOptions
The format which will convert the string of clipboard to BOOLEAN field value when run pasting.
Defaults to null.
grid.setOptions({
edit: {
pasteBooleanFormat: "No,Male,0:Yes,Female,1:x,X",
pasteDatetimeFormat: ["yyyyMMdd", "yyyy-MM-dd"]
}
});
grid.setEditOptions({
pasteBooleanFormat: "No,Male,0:Yes,Female,1:x,X",
pasteDatetimeFormat: ["yyyyMMdd", "yyyy-MM-dd"]
});
grid.pasteOptions().setBooleanFormat("No,Male,0:Yes,Female,1:x,X");