The code in DataTableEditDemo in 3.1 for the function
Code: Select all
inputTextEditor(props, field) {
return <InputText type="text" value={props.rowData[field]} onChange={(e) => this.onEditorValueChange(props, e.target.value)} />;
}
Code: Select all
inputTextEditor(props) {
return <InputText type="text" value={props.rowData[props.field]} onChange={(e) => this.onEditorValueChange(props, e.target.value)} />;
}
Regards