From 31d9ac7298fe609e355d29782048de88929dec28 Mon Sep 17 00:00:00 2001 From: AllenFang Date: Fri, 1 Apr 2016 20:59:08 +0800 Subject: [PATCH] description for #380 --- examples/js/cell-edit/demo.js | 4 ++++ examples/js/cell-edit/non-editable-table.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/js/cell-edit/demo.js b/examples/js/cell-edit/demo.js index dc5eb80ef..22611e98a 100644 --- a/examples/js/cell-edit/demo.js +++ b/examples/js/cell-edit/demo.js @@ -42,6 +42,10 @@ class Demo extends React.Component {
A Non Editable Cell Example (Product Name can not be edited)
Source in /examples/js/cell-edit/non-editable-table.js
+ + BTW, if you set editable to true, which field will be non editable also when insert.
+ so if you want to make field editable when insert, you can set ignoreEditable to true in options prop.
+
diff --git a/examples/js/cell-edit/non-editable-table.js b/examples/js/cell-edit/non-editable-table.js index 93b999f6f..af9be48d7 100644 --- a/examples/js/cell-edit/non-editable-table.js +++ b/examples/js/cell-edit/non-editable-table.js @@ -28,7 +28,7 @@ const cellEditProp = { export default class NonEditableTable extends React.Component { render() { return ( - + Product ID Product Name Product Price