Changed Packages
+This release bump following packages:
+
+react-bootstrap-table-next@0.1.4
+
+Changelog
+Bug fixes
+
+- Fix the sort will not be triggered when data is changed(#232)
+- Fix empty element issue(#219)
+- Fix Failed prop type: The prop
defaultValue is marked as required in TextEditor, but its value is null(5dd1f1e9)
+
+Features
+Enhancements
+
+rowEvents.onMouseEnter and rowEvents.onMouseLeave will be wrapped up and pass row informations(#233)
+
+Changed Packages
This release bump following packages:
react-bootstrap-table-next@0.1.3
diff --git a/docs/basic-row-select.html b/docs/basic-row-select.html
index d5d93a2..453f030 100644
--- a/docs/basic-row-select.html
+++ b/docs/basic-row-select.html
@@ -11,6 +11,8 @@
Selection Mode
We support the single and multiple selection on table, config the selectRow.mode on BootstrapTable will enable the selection on the table.
By default behavior, user need to click on the selection column or the checkbox/radio to select/unselect a row, for a user experience perspective, we have selectoRow.clickToSelect to allow user to select/unselect row by clicking on the row.
+Selection Management
+Please check selectoRow.selected, it's used for default selection usually but also can be used as a external selection control.
Customization
Style/Class
Like column, we support to custom the style, class on the selecting row easily via following selectRow props:
diff --git a/docs/basic-row.html b/docs/basic-row.html
index 200c2d7..7357151 100644
--- a/docs/basic-row.html
+++ b/docs/basic-row.html
@@ -16,7 +16,12 @@
-Currently, react-bootstrap-table2 only wrapped up the onClick event to allow its callback to receive row and rowIndex, for example:
+Currently, react-bootstrap-table2 only wrapped up the following events to allow its callback to receive row and rowIndex, for example:
+
+onClick
+onMouseEnter
+onMouseLeave
+
const rowEvents = {
onClick: (e, row, rowIndex) => {
....
@@ -24,7 +29,7 @@
};
<BootstrapTable data={ data } columns={ columns } rowEvents={ rowEvents } />
-Anyway, it's welcome to ask us to add more wrappeds for event callback functions.
+Anyway, it's welcome to ask us to add more wrapped on events.
Row Attributes
Coming Soon!
\ No newline at end of file
diff --git a/docs/row-select-props.html b/docs/row-select-props.html
index f9d9387..c94249d 100644
--- a/docs/row-select-props.html
+++ b/docs/row-select-props.html
@@ -18,6 +18,7 @@
Optional
const selectRow = {
+ mode: 'checkbox',
+ selected: [1, 3]
+};
+
selectRow.style - [Object | Function]
selectRow.style allow you to have custom style on selected rows:
const selectRow = {
diff --git a/sitemap.xml b/sitemap.xml
index f461b6d..b31c60a 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3,6 +3,7 @@
https://react-bootstrap-table.github.io/help.html weekly 0.5
https://react-bootstrap-table.github.io/index.html weekly 0.5
https://react-bootstrap-table.github.io/users.html weekly 0.5
+ https://react-bootstrap-table.github.io/blog/2018/03/06/version-bump.html weekly 0.3
https://react-bootstrap-table.github.io/blog/2018/02/14/version-bump.html weekly 0.3
https://react-bootstrap-table.github.io/blog/2018/02/02/version-bump.html weekly 0.3
https://react-bootstrap-table.github.io/blog/2018/01/24/release-plan.html weekly 0.3
diff --git a/storybook/iframe.html b/storybook/iframe.html
index 13375a2..6d31564 100644
--- a/storybook/iframe.html
+++ b/storybook/iframe.html
@@ -17,5 +17,5 @@
-
+