From 4b0195f0a6799a2e91f8c64f9e14588766c3666a Mon Sep 17 00:00:00 2001
From: AllenFang
column.editable default is true, means every column is editable if you configure cellEdit. But you can disable some columns editable via setting false.
column.editable default is true, means every column is editable if you configure cellEdit. But you can disable some columns editable via setting false.
If a callback function given, you can control the editable level as cell level:
{
// omit...
diff --git a/docs/table-props.html b/docs/table-props.html
index 5f515c2..2c98824 100644
--- a/docs/table-props.html
+++ b/docs/table-props.html
@@ -39,7 +39,7 @@
data(required) - [Array]
Provides data for your table. It accepts a single Array object.
columns(required) - [Object]
-Accepts a single Array object, please see columns definition for more detail.
+Accepts a single Array object, please see columns definition for more detail.
remote - [Bool | Object]
Default is false, if enable remote, you are supposed to be handle all the table change events, like: pagination, insert, filtering etc.
This is a chance that you can connect to your remote server or database to manipulate your data.
@@ -97,9 +97,9 @@ When loading is true, react-bootstrap-table2classes - [String]
Customize class on table element.
cellEdit - [Object]
-Makes table cells editable, please see cellEdit definition for more detail.
+Makes table cells editable, please see cellEdit definition for more detail.
selectRow - [Object]
-Makes table rows selectable, please see selectRow definition for more detail.
+Makes table rows selectable, please see selectRow definition for more detail.
rowStyle - [Object | Function]
Custom the style of table rows:
<BootstrapTable data={ data } columns={ columns } rowStyle={ { backgroundColor: 'red' } } />