v4.3.1 (2017-12-23)
- Fixed sizePerPage dropdown broken on
[email protected]
(8b28c4b) - Fixed Cannot read property 'type' of null Error in
TableHeaderColumns
when having dynamic columns(1741487)
- if
options.hideSizePerPage
is true, will not render dropdown anymore instead of hidden(ea89bf8)
v4.3.0 (2017-12-12)
- Fixed passing wrong key for custom
prePage
,nextPage
,firstPage
andlastPage
(02363a9)
- Upgrade
react-modal
to3.1.7
- Expand/Collapse all rows
- Support hide parent row when expanding(24c8556)
v4.2.0 (2017-12-04)
- Fix bug about text filter for null value(a9eb1d0)
- Fix
expandParentClass
option concat classNames(64915a0)
- No String ref(7c18851)
- Support
renderAlert
to specified if render thereact-s-alert
(ed57ab4)- Please check #1771
- The event object will be pass at least argument for
options.onExpand
,options.onRowClick
andoptions.onRowDoubleClick
(64915a0)
v4.1.5 (2017-11-20)
- Fixed the sort status doesn't updated internally when remote sort enable(06b3560)
beforeSaveCell
andafterSaveCell
will pass additional information on last one argument(db634db)
v4.1.1 (2017-11-11)
v4.1.1 (2017-10-25)
- Fixed edit cell that has no data IE 11 fails with error code 800a025e(17be157)
- Fixed sizePerPage drop down requires double click(9c0332a)
- Fixed
remote
is enable and a sorted table is reset when state update(5a70141)
v4.1.0 (2017-10-16)
- Fixed
options.afterDeleteRow
be called without checking existing(9f64cdf) - Fixed
table-condensed
should betable-sm
on bootstrap@4(137a6b2) - Update React Peer Dependency(9032174)
- Upgrade
react-modal
to3.0.3
due to[email protected]
issue(f2c0ee8) - Fixed Cannot read property 'type' of undefined(9049073)
- Fixed Failed prop type: Invalid prop columnName of type array supplied to TextFilter, expected string(c272b97)
v4.0.6 (2017-09-30)
- Fixed TypeError: Cannot read property 'emitter' of undefined(55a7e09)
- Treat
undefined
same asnull
when sorting(5b58195)
- Support
cellEdit.bulrToEscape
, default isfalse
(88571ac)
v4.0.5 (2017-09-20)
- Support
ArrayFilter
but it's an internal filter, you can not configure onfilter.type
withArrayFilter
(5b32bfd)- Please check this example.
- Support
csvFieldType
to assign the type of cell when exporting csv(d810c9c)- example
- Available is
number
andstring
, default isstring
- Support auto collapse expanded rows when sort/filter/search(5ad7a75)
- Check this example
v4.0.4 (2017-09-15)
- Fix
BootstrapTable.reset
method doesn't clean the cell editing state(f3466be) - Fix search result is reset when a rerender with only enable
remote.cellEdit
(8ba60d8) columnClassName
get render oncolgroup
even if it is function(031a99d)
- Able to styling the header column when sorting(7960b3f)
- Check example
- Trying to fixing encoding issue when opening CSV file with Excel(c05679c)
v4.0.3 (2017-09-04)
- placeholder-selected in filters/Select.js is not handled correctly(1bba1aa)
- Setting environment to production(a7ff05c)
- Pass
rowIndex
andcolumnIndex
as third and fourth arguments forcolumnTitle
callback function(99f56a0)
v4.0.2 (2017-08-22)
- Fix the
expandable
broken on custom column whenexpandBy
iscolumn
(1be402e)
- Able to configure the position of
ToolBar
(29bbecc)- Configure the position via
options.toolbarPosition
, available value istop
,bottom
andboth
.
- Configure the position via
- Custom the column title(cd93a3f)
- Configure
columnTitle
onTableHeaderColumn
, which accept a function and takecell
androw
as arguments - Check this example
- Configure
- Add quotation marks to header cells on CSV file(55de1d6)
v4.0.1 (2017-08-13)
- Fix wrong data population when drop rows in a table which enable pagination(87484cc)
v4.0.0 (2017-08-06)
- Fix validation called twice when press tab to leave the cell editor(5532b98)
- Fixed hard coded warning when insert fails(28b3ea3)
- Use
options.insertFailIndicator
to custom the error indicator.
- Use
- Fixed 'Show All/Show selected only' �is display in contrast(db1f8e7)
- Use
prop-types
- Use
editTdAttr
onTableHeaderColumn
to custom the attributes on the column(TD
) of cell editor(42e84b7) - Support dynamic options list for dropdown in cell editor(62b928a)
editable.options.values
onTableHeaderColumn
can accept an array or function now.
- Support
bootstrap@4
andbootstrap@3
, if you use 4, please addversion='4'
on<BootstrapTable>
.
v3.5.1 (2017-08-02)
v3.5.0 (2017-07-29)
v3.4.6 (2017-07-16)
- Fix wrong cell edit if have multiple table but share same
cellEdit
props8954de6
- Allow to configure
td
style viatrStyle
onBootstrapTable
(5999c48)
v3.4.5 (2017-07-13)
- Pass
rowIndex
as third argument foroptions.onRowClick
(4b5ba03)
- Able to disable the
tabIndex
viawithoutTabIndex
onBootstrapTable
(ce6f744)
v3.4.4 (2017-07-09)
- Pass row object as second argument for
editable.validator
when calling by insert row(5ede872) - Fix text filter is not updated when rerender(298e971)
- Fix wrong colspan on a empty table when hide seleciton column(62ceb31)
- return
false
will render default editor in insert model for the hook function of customInsertEditor.getElement(f2382b3)
v3.4.3 (2017-07-05)
- Fixed wrong colspan when table was empty and enable
expandColumnOptions.expandColumnVisible
(624764c) - Fix 'undefined is not an object' when running in a headless browser(a06cd6a)
- Able to disable BOM header for CSV via
options.noAutoBOM
(340dc8d) - Able to exclude header for CSV via
options.excludeCSVHeader
(16ba815)
v3.4.2 (2017-06-24)
- Cannot read property 'sortFunc' of undefined when conditionally rendering different tables(1418)
- From this version, we support
replace
props onBootstrapTable
, you can configure astrue
if your need to rerender a totally different table so thatreact-bootstrap-table
will not update table state according to previous and next props.
- From this version, we support
- Header Group broken when Row Expand Indicator is enabled(2cf11ec)
options.onDeleteRow
andoptions.afterDeleteRow
allow to accept second argument which is the all delete rows instances(29064ff)options.expandBodyClass
allow to accept third argument which is a flag for is expanding or not(85eeeb5)- Check example
v3.4.1 (2017-06-17)
- If a key is 0, it's regarded as invalid in
TableStore.js
(e00a515)
options.onRowClick
have the second arguments:columnIndex
(cf6571f)options.onAddRow
now support to sync/async way to tellreact-bootstrap-table
if a error inoptions.onAddRow
(a2a5555)- Please check example
- Use
setState
as functional instead of object(b9b5b26)
- Able to custom the separate for exporting CSV file(1c9e2c5)
- Using
options.exportCSVSeparator
- Using
v3.4.0 (2017-06-11)
- Fixed column width does not work when header grouping(4b1e11e)
- Fixed wrong column to expand when
selectRow.hideSelectColumn
as ture andexpand={false}
onTableHeaderColumn
(74e37d3)
- Support to press ENTER to expand/collapse row when keyboard navigation is enable(115495d)
- Enable
keyBoardNav.enterToExpand
- Check example
- Enable
v3.3.9 (2017-06-08)
- Fixed TypeError: this.props.children.filter is not a function(80fb5a6)
v3.3.8 (2017-06-02)
currSizePerPage
should be string(6c6185d)
- allow
options.prePage
,options.nextPage
,options.firstPage
andoptions.lastPage
to accept any type(a2ab8fb)
v3.3.7 (2017-05-22)
- Allow conditionally specify columns(9b748df)
- #1319(338424f)
- Allow date filter to filter string value,
react-bootstrap-table
will convert string to Date(63a022a)
v3.3.6 (2017-05-19)
- Fixed ExpandComponent.js:47 Uncaught TypeError: Cannot read property 'className' of undefined(5618342)
v3.3.5 (2017-05-17)
- Fix
editable.type
will be ignore if is nottextarea
,select
,checkbox
, anddatetime
(e3f87e0)
- Able to set the default value for field in insert model easily(5bd62b4)
- Use
editable.defaultValue
- Use
- Support
options.onExpand
and accept a function which will be called when expand/collapse happen(f54ebc3)- Check example.
- Allow
selectRow.className
to accept a function for a easy customization reason(440d376)- Check example
- Able to apply custom style on filter(1e8f1f9)
- Check example
v3.3.4 (2017-05-13)
- Fix
afterSearch
andafterColumnFilter
doesn't be called when table rerender(24e5b66)
-
Able to clean sorted table(261c6ea)
- Please check this example
-
Able to configure the text and value of select option in cell editing or insert modal(face547)
v3.3.3 (2017-05-08)
- Avoid to throw error when
onfocus
function is not implement on custom cell editor(7104c6b) - Fixed press ESC to leave the cell editing broken since from
v3.3.1
(283508)
v3.3.2 (2017-05-07)
- Fixed bug about
options.keepSizePerPageState
(e226764) - Fixed a delete row bug when
options.pageStartIndex
is 0(161eb0c)
v3.3.1 (2017-05-06)
- Allow to unselect all only for visible rows(filter, search)b15475a
- #1276
- Enable
selectRow.onlyUnselectVisible
to have this feature
cellEdit.beforeSaveCell
pass fourth argumentdone
, call it and return a bool value for performing validation in asyncf620b19- check description
- If your validation is async or there's a delay for user operation, use this feature.
- Suppoer
options.keepSizePerPageState
, enable it will make size per page dropdown keep open if table rerender automatically without any user action5234375
v3.3.0 (2017-05-01)
- Fix default sort does not work for
remote
mode(a15c492) - Fix
false
is transfer to be empty string on cell editing(e840849)
- Avoid to rerender select filter everytime(5b14252)
- restrict border & border-radius to bordered tables(8e446f3)
- Better
margin
for table, pagination, toolbar(a5be737)
v3.2.2 (2017-04-27)
- Fix validation is ignored when tab out of a cell to the next cell(1a6ca0a)
- Able to remove the empty option on select and number filter(61a2d8c)
- Use
filter.withoutEmptyOption
onTableHeaderColumn
for select filter. - Use
filter.withoutEmptyNumberOption
onTableHeaderColumn
for number filter. - Use
filter.withoutEmptyComparatorOption
onTableHeaderColumn
for number filter.
- Use
- Support
defaultASC
onTableHeaderColumn
for specifing ASC order when sorting on column first time(fec241d)
v3.2.1 (2017-04-20)
- Fixed search and pagination not working together(5a533cf)
- It's a very critical bug since from
v3.1.8
- It's a very critical bug since from
v3.2.0 (2017-04-16)
- Support conjunction search(246a7fa)
- Please check #1199
- Allow to expand only one row at a time(c4c1b7f)
- configure via
options.onlyOneExpanding
and assigntrue
- configure via
v3.1.8 (2017-04-13)
- Fix wrong page jumping after search, filter etc.(b686d1a)
- Add class name
react-bs-table-sizePerPage-dropdown
for sizePerPage dropdown(da82469)
v3.1.7 (2017-04-07)
- Fixed
headerText
is not display well(14fc9b7) - Fixed bug if update
options.expanding
is not work(6f0b5fb)
- Improve the performance of select all functionality(3b67e19)
- Support
keyValidator
onTableHeader
to tellreact-bootstrap-table
to push the error message invalidateState
if rowkey not valid(892c504)- It's only work for rowKey column
- Default is false,
react-bootstrap-table
only show a toastr to nofity user that rowkey is not valid.
v3.1.6 (2017-04-03)
- Fixed wrong
z-index
for insert modal and mask(91b4dca) - Fixed keyboard navigation does not work if
selectRow.hideSelectColumn
is true(e8c25fd)
- Support
editable.readOnly
forTableHeaderColumn
, which is helpful if you want this field can be edited on insert but not on cell editing(8729faf)
v3.1.5 (2017-04-01)
- Fix tab broke if encounter non editable or hidden cell(ca7a9dd)
- Avoid the horizontal scrollbar appear when resize the window
v3.1.4 (2017-04-01)
- Fix tab broke if encounter non editable or hidden cell(2f9ed93)
- Fix unalign issue if table become scrollable then non scrollable(af8b3c3)
selectRow.bgColor
now support a callback function for more flexible bgColor setting(136dec9)bgColor: function(row, isSelect) { if (isSelect) { const { id } = row; if (id < 2) return 'blue'; else if (id < 4) return 'red'; else return 'yellow'; } return null; }
v3.1.3 (2017-03-30)
- Fix bug about != and = are not work well for date filter(14bcfba)
- Fix an error happen if change sizePerPage then fill date(28561d5)
- Fix FileSaver.js causes requireJS errors in console(850cdea)
v3.1.2 (2017-03-28)
- Fix toastr error does not display when editing cell(8407634)
- Fix
noDataText
set colSpan more than columns if some column hidden(52206d9)
v3.1.1 (2017-03-10)
- Fix
selectRow.hideSelectColumn
not working in table header(fcc7c81) - Fix an exception if table source data is immutable type(70de237)
- Able to hide/show toolbar when printing via
options.printToolBar
(fdb04f8)
v3.1.0 (2017-02-06)
- Fix componentWillMount of expand content not called with pagination(fafc080)
- Fix Cell edit on key Tab press problems if enable expand row(7320dd4)
- Support the expand indicator(1c31aab)
- Support to hide page list if only one page(2da1b85)
- Use
options.hidePageListOnlyOnePage
and set true to hide.
- Use
- Fixed no buttons will be displayed on top left when only customized buttons are provided(ad7b80c)
- Support
csvFormatExtraData
forcsvForamt
(4fe30ed)- Check this for example
- Support default tooltip on pagination button and able to customize them(c530474)
- Check example to learn how to custom tooltip for page list button
v3.0.0 (2017-02-06)
- Support Keyboard navigation
- Check examples
- More easy to custom table(toolbar, button, pagination etc.)
- Check examples
v2.11.2 (2017-02-06)
- Fix wrong propTypes for
tdStyle
andthStyle
(37032fb)
v2.11.1 (2017-02-05)
- Support to configure the
td
andth
style object(94b4451)- Use
tdStyle
onTableHeaderColumn
to configure thetd
styles, aceept an object - Use
thStyle
onTableHeaderColumn
to configure theth
styles, aceept an object - example
- Use
- Able to clean table by calling
reset
which is exposed byBootstrapTable
(6893be6) - Support to configure which functionality should be handled by
remote
(d31c71f)- Check example
v2.11.0 (2017-02-01)
- Selection broken if click on a custom cell(
dataFormat
) since from fromv2.9.2
(d149941) - Fixed the
onRowClick
broken since fromv2.9.2
(2d8212a) - Fixed #996(b2ff491)
- Support to configure the column width with percentage(08c7cbc)
v2.10.2 (2017-01-31)
v2.10.0 (2017-01-26)
- Pass
row
to validator for cell editing(4e77a11) - Support to configure the width of selection column(6e52226)
- use
columnWidth
inselectRow
prop - Example
- use
v2.9.2 (2017-01-21)
- Fix expanding row broken if configure selectRow and expandBy column(01e4261)
- Fix expanding row broken if configure cellEdit(2e9b19e)
- Fix calling
handleFilterData
throws errors from2.8.3
(4c5ef92) - Fix clicking on custom selection column will trigger selection twice(eff49cf)
v2.9.1 (2017-01-15)
- Fixed Uncaught TypeError: _this3.props.adjustHeaderWidth is not a function when expanding row(9202f31)
- Support to hide the text for no data table(8bedcf7)
- Use
options.withoutNoDataText
, default is false. Give true will hide the text content - Example
- Use
v2.9.0 (2017-01-09)
- Enhance the expanding row, support
options.expanding
(aeb7125) - Add
options.beforeShowError
to do some thing before toastr popup(9bc8b7f)- Return false or do not return to prevent toastr popup
- example
- Multi column sort
v2.8.3 (2017-01-07)
- Add
invalidEditColumnClassName
props onTableHeaderColumn
for supporting the class on cell editing fail(4ddc906)
- Allow to configure the text, select or custom with a filter condition, default is
like
andeq
is available.(a48e10c) - Allow to add your own attribute on TD element(a44e189)
v2.8.2 (2016-12-29)
- Hot fixes for sort caret disappear after
v2.8.1
(7e88e15)
v2.8.1(unpublish) (2016-12-28)
- Fixed onRowMouseOver called with wrong arguments when expandableRow enable(86270e2)
- Fixed TableHeader: prop type
colGroups
is invalid(11e9daa)
v2.8.0 (2016-12-25)
- Support colSpan and rowSpan on table header(8e459ef)
v2.7.1 (2016-12-18)
- Fix layout error when expand row with a hidden column outside(460ba53)
- Support
editColumnClassName
prop on<TableHeaderColumn>
for separate fromcolumnClassName
(dbc40d3)- check #892
- Support
headerText
prop on<TableHeaderColumn>
(9183e71)- It's optional but if you dont have a pure text as children in
<TableHeaderColumn>
, you can configure this prop to avoid couple wanring when insert or filter. - The value of this prop will be used on the placeholder or tip for filter or insert modal field.
- It's optional but if you dont have a pure text as children in
- Allow to expand row by specified column or a row(95fbfd4)
- Check this example
- Give
expandBy
inoptions
props and assign ascolumn
orrow
(row
is default) - If you give
expandBy
ascolumn
, all column can trigger expanding by click - You can tell
react-bootstrap-table
which column can trigger expanding byexpandable={ false }
on<TableHeaderColumn>
v2.7.0 (2016-12-13)
- Fixed calling
handleSearch('')
will no clear the text on search field(f7646dc) - Fixed
getComputedStyle
is not defined error(c9587b2) - Fixed fails in restricted network environment for
react-toastr
with a git url installation
- Support
scrollTop
prop on<BootstrapTable>
(20a0d65)- Available valus is a numeric value or
Top
orBottom
- Available valus is a numeric value or
v2.6.0 (2016-11-28)
- Fixed #838
- Support row lock level on cell edit(7c57b52)
- Use
nonEditableRows
incellEdit
props nonEditableRows
accept a callback function which return an array of rowKey which is noneditable rows
- Use
v2.5.9 (2016-11-21)
- Throw errors instead of string literals(f32ba6f)
v2.5.8 (2016-11-09)
- Fixed the issue with giving the paginationShowsTotal as function when table is empty(ec93ddb)
- Add an option for changing the text on select filter(79b9f41)
v2.5.7 (2016-11-02)
- Fixed display boolean value if value is false(8fde9d6)
- Fixed the filters do not work with dynamically generated columns(e1f287a)
- Add
headerTitle
in<TableHeaderColumn>
for enable the title on header, default is true(7685e14) - Redirect to first page if calling
handleAddRowAtBegin
(3a4432a)
v2.5.6 (2016-10-22)
- Fixed Search fails on number 0(2af763e)
- Fixed the wrong display text when giving
sizePerPageList
as an array of object(a48dc5f)
- Support
onRowDoubleClick
inoptions
prop(3d884ea)
v2.5.5 (2016-10-01)
- A popup editor for cell editing example(0fb4494)
- The
className
on<TableHeaderColumn>
accept a string or function((35d9d1e)[https://github.com/AllenFang/react-bootstrap-table/commit/35d9d1efe90f3d9f7113f3c18c8691f799bf7ccd]) - Pass
dataField
as the second argument forcaretRender
(e75c7be)
v2.5.4 (2016-09-27)
- Fixed the incorrect page number for
paginationShowsTotal
when data is empty(ba524f9) - Fixed Cannot read property 'name' of undefined during option change if a given page bigger than total pages count(96c35aa)
- Make pagination button compatible with Bootstrap@4(1c0e9f5)
- Keep cell editing stay if table re-rendering(6777a72)
v2.5.3 (2016-09-18)
- Fix wrong text for pagination show totals(62ce772)
- Should not deselect disabled checked checkbox on click on unselected all(41e3723)
- Avoid console error for invalid regex in regex-filter(ef15ce0)
v2.5.2 (2016-09-11)
- Fix select filter not working as expected(1d3960c)
- Check #589
- Fix pagination covers table when setting maxheight(dcc54d2)
- Allow
sizePerPageList
accept an object which follow this format{ text: '10', value: 10 }
(635b838)
v2.5.1 (2016-09-03)
- Fix update sizePerPage through componentWillReceiveProps does not update select list(5740871)
- Fix table didn't reflect changes of unselectable prop when passed array changes dynamically(85000f8)
- Showing rows for paginationShowsTotal should start at 1 instead of 0(271cf10)
- Enable customized for notification messages after validation(e2d924f)
- check this example
v2.5.0 (2016-08-28)
*** Upgrade minor version ***
v2.4.4 (2016-08-27)
- Fix SelectFilter can't display boolean value(b84861c)
- Fix boolean can't be populate to table column(ecc6a16)
- Fix unknown props warnings by
react-toastr
(16cb7ef)
- Move css files to
dist
folder(ffb8031) - Allow to apply className to following elements(b426974)
react-bs-table-container
, usecontainerClass
to set classNamereact-bs-table
, usetableContainerClass
to set classNamereact-bs-container-header
, useheaderContainerClass
to set classNamereact-bs-container-body
, usebodyContainerClass
to set className
v2.4.3 (2016-08-21)
- Editable converts zero (0) to empty string on first editing(422d6f8)
- Fix a wrong sorting result after apply search(7e5a726)
- Fix
paginationShowsTotal
propTypes is invalid(cc5dd7f)
- Disable DOM on exported CSV file(48b9a98)
- Hide export csv button when printing(cc625a0)
- Allow
onCellEdit
return a value which present as the new value for editing.(f0030f0)
v2.4.2 (2016-08-13)
- Fix the column width broken if table is empty(9172656)
- Support to call
applyFilter
exposed by<TableHeaderColumn>
for set filter value dynamically(e30f86c) - Support to customize the selection column(c5875d5)
- Support cell edit on
remote
mode(f399e87)
- Pass the
row
in props at second arguments forcustomEditor.getElement
(2de6c5c)
v2.4.1 (2016-08-06)
- Support default search(825ca76)
- Assign
defaultSearch
inoptions
props
- Assign
- Support the date picker for cell edit(a861890)
- Avoid to overwrite the
.table-bordered
class.(0a678ed) - Allow
csvFileName
accept a function to generate file name dynamically(a730833) - Allow
height
to accept number or string(7f3ac47)
v2.4.0 (2016-08-06)
- Enable to clear filter by calling
cleanFiltered
which exposed by<TableHeaderColumn>
(bda6ff4) - Support cell edit customization(b162b52)
- Apply
customEditor
on<TableHeaderColumn>
- Check example
- Apply
- Fix wrong devtool for webpack on example(ff1da38)
- Use
btn-primary
for save button(a7923b4) - Pass row index as fourth arguments for
dataFormat
(eae2f23) - Add example for showing how to make select all only work on current page(ff31b0d)
- Check example
v2.3.9 (2016-07-25)
- Fix
csvFormat
doesn't pass the second argument(6d51a26)
- Support to filter or search on nest object(3c6467d)
- Assign
filterValue
on<TableHeaderColumn>
- Check example
- Assign
- Avoid
onExportToCSV
only work onremote
condition(c201793) - Use ReactDOM.render instead of React.render(d45cb97)
v2.3.8 (2016-07-16)
- Add
export
on<TableHeaderColumn>
(aa4dfc3)- You can add
export={true}
to tellreact-bootstra-table
exporting this column if it is hidden - Also, you can add
export={false}
to tellreact-bootstra-table
don't export this column
- You can add
v2.3.7 (2016-07-02)
- #517(https://github.com/AllenFang/react-bootstrap-table/issues/517)
- Fix unselctable is broken on selecting all(aa1db57)
- Fix current page not work correct from zero(edd5581)
v2.3.6 (2016-06-20)
- Fix filter null data(8a90468)
- Fix setState will cause changing to page one if selected row is on last page(7093d58)
- Support
unselectable
inselectRow
props which can make some row unselectable(f5faef1)- Check example
- Expose
getTableDataIgnorePaging
function on<BootstrapTable>
to allow user get the all data(include filtered)(34f3568)
v2.3.5 (2016-06-11)
- Fix column title is null problem(4d25667)
- Fix sizePerPage always to be options value if setState(58540b3)
- fix currPage always to be options value if setState(544cd26)
v2.3.4 (2016-06-05)
- Fix a next page showing if there's no data(ddf7fc9)
- Fix the wrong class on selection row if a
trClassName
given(2d3d1cb)- Check #488
- Fix the save button doesn't work in textarea editing if disable
blurToSave
(2e0eca5)
- Able to hide the pagination if there's only one page(4739d43)
- Enable
ignoreSinglePage
on<BootstrapTable>
- Enable
- Able to hide the sizePerPage doprdown(7c88a3b)
- Add
hideSizePerPage
inoptions
props on<BootstrapTable>
- Add
- Support to customize the csv header text(ef11be9)
- Use
csvHeader
on<TableHeaderColumn>
- Use
- Fix confirm grammar for row delete(cd26ba9)
v2.3.3 (2016-05-29)
- Fix warning: NaN is an invalid value for the width css style property(4018df5)
- Fix uncaught TypeError: Cannot read property 'filter' of undefined(dc67221)
- Fix search then filter will ignore the search(dc67221)
- Custom text for
paginationShowsTotal
(07b3e7a)paginationShowsTotal
accept a bool value or a function, if a function given you need return the customize JSX.- Check example
- Support hide field in insert modal(9a7e93a)
- Use
hiddenOnInsert
on<TableHeaderColumn>
- Use
-
Ability to return unselected rows in
onSelectAll
(a23c290)- On select all, the second argument will be the current display rows on table.
- On unselect all, the second argument will be the unselect rows.
- Check example
-
Improve the validation on
onSelectAll
(4666523)- If return true/false in
onSelectAll
, means agree/disard this select all event. - If return an array of rowKeys in
onSelectAll
, means the final selected result for this select event. - Check select validation example
- If return true/false in
v2.3.2 (2016-05-23)
- Fix sorting on null value(6a1c88b)
- Support for pagination start index(98499b2)
- Use
pageStartIndex
inoptions
- Check example
- Use
- Able to add classname on tag(866e07d)
tableHeaderClass
for header table andtableBodyClass
for body table- Check example
v2.3.1 (2016-05-11)
- Unminified the index.js(9607b82)
- Support column title(e77bd32)
- Enable
columnTitle
on<TableHeaderColumn>
- Enable
- Support csv format on column(acd12b1)
- Because
dataFormat
is not appropriate on column when exporting csv file, socsvFormat
been supported. - Check this example
- Because
- Enable to custom the save and close button text in insert modal(072eeee)
- Example on here
v2.3.0 (2016-05-04)
- Fix filters doesn't work when the column contains null values(2199431)
v2.2.0 (2016-04-29)
- Fix default value on filter are broken when upgrade to
[email protected]
(b455582) - Fix column header pulse when sorting(4ec7521)
- Fix Cannot assign to read only property 'children' of object '#' on single column table(3a95495)
- Compatible on both
[email protected]
and[email protected]
(8487ea7) - Customization text on Delete and Insert row button(0f2e6b7)
v2.1.5 (2016-04-26)
- Support position and total pages(8c6393b)
- Enable
paginationShowsTotal
inoptions
props - check example
- Enable
- Allow developer to define inline styling on
react-bootstrap-table
(e60e607)- Check example
containerStyle
props is corresponding to thereact-bs-table-container
class.tableStyle
props is corresponding to thereact-bs-table
class.headerStyle
props is corresponding to thereact-bs-container-header
class.bodyStyle
props is corresponding to thereact-bs-container-body
class.
v2.1.4 (2016-04-15)
-
Fix data loss on cell edit when only a validator given(d652e63)
-
Fix select state still remain when update state on table(9ffea48)
- check the scenario
v2.1.3 (2016-04-11)
- Support comparator on date filter(bf5b4d2)
- Pass event object as third argument on
onRowSelect
callback function(b1e8d18) - Support a better mechanism for default sorting(ac0dd35)
- Check example
v2.1.2 (2016-04-06)
- Fix editor type broken if enable
ignoreEditable
(b92481d) - Fix sort broken after doing column filter(47cad29)
v2.1.1 (2016-04-01)
- Fix the delay search bug(it not real to wait for typing nothing)d601337
- Fix a error if cell is empty on date filter(40b4a40)
- Fix a bug when insert row with sort and filter(027c0ec)
- Check #366
- Give a workaround for fixing a bug when sort on same field(16d8488)
- Fix #375(cf28f8f)
- Allow noDataText to accept JSX(97a08ff)
- Ignore editable configuration when insert row(61b60d1)
- Check this comment
- Able to provide extra data with a custom sort function(509ce22)
- Avoid '[object Object]' shown as title on column header(5da38c3)
v2.1.0 (2016-03-26)
- Fix the select all checkbox should be empty if there is no data in table(449eb1b)
- Fix a SSR issue on csv export module(d46ca49)
- Fix a SSR issue when enable
insertRow
(fbc4654)- Check #348
- Fix search broke with a backspace(d24f1c4)
TableDataSet
has been removed onv2.1.0
(239d8b1)- Support a delay when typing search text(b54f84a)
- Check example at here
- It's able to get the page number by rowKey(55d475f)
- Allow user to change the text on export CSV button(f6171fa)
- use
exportCSVText
inoption
props
render() { const options = { exportCSVText: 'MY_CUSTOM_TEXT' }; return ( <div> <BootstrapTable ref='table' options={ options }> .... </BootstrapTable> </div> ); }
- use
- Pass rowKey as parameter for
handleConfirmDeleteRow
callback function(c2f8ce1)- Check example at here
v2.0.3 (2016-03-22)
- Improve build system for reducing the size of bundling file(0e29899)
- Pass event as param for event mouse(482f2f0)
v2.0.2 (2016-03-20)
- Fix when interacting with filters will cause a column sort(00213b9)
- Fix 'document is not defined' when used with server side rendering(4c26adf)
- Support
beforeSaveCell
on cell editing, you can do a validation and decide whether accept this editing(2233de7)- Check example
- Apply eslint more strict(a836bb5)
v2.0.1 (2016-03-16)
- Fix screen remains dark after inserting( row423d6e5)
- Fix search and filter features combination does not work(643f9ca)
- Support regex filter(90a347d)
- Make column text as the title on table header(68efb43)
- Add a float filter on examples folder(d2b7854)
- Check example
v2.0.0 (2016-03-13)
For
v2.0.0
, I improve the dom structure and css of table. The main issues what I want to solve is- The column unalign problem in different browser or in tabs(react-bootstrap)
- A wrong rendering width on column in some case
- A wrong height on table
- Large columns problems
Please check this discussion for more detail explanation.
v1.6.2 (2016-03-11)
- Options value for current page and size per page are not respected(0f30823)
- Pagination doesn't work in IE9(79af10e)
- Sort indicator configurable(d66634c)
- Default is enable, means sort indicator will show on header column if enable sort
- Check example to see how to disable it
v1.6.1 (2016-03-08)
- Fix Uncaught TypeError: Cannot read property 'type' of null(54e97a1)
- Fix Uncaught TypeError: children.map is not a function(7d45b80)
- Make hidden column can be searched by default(1d3dd8e)
v1.6.0 (2016-03-06)
- Fix selection checkbox sharing with the same name(207dbf2)
- Provide
searchable
on<TableHeaderColumn>
for enable/disable search on column(82c6b12) - Support prepend new row on table(881cb13)
- It's a expose API by BootstrapTable
handleBtnClick = () => { this.refs.table.handleAddRowAtBegin({ id: fake_id, name: 'product 1', ..... }); } render() { return ( <div> <button onClick={this.handleBtnClick}>Prepend</button> <BootstrapTable ref='table'> .... </BootstrapTable> </div> ); }
- Clear timer on number and text filter when component unmount(c71f508)
- Make sort field be passed as fourth argument when customize sort function(011a8d7)
- Check following code
function numberSortFunc(a, b, order, sortField){ //we add sortField in this patch //.... } //... ReactDOM.render( <BootstrapTable data={products}> <TableHeaderColumn dataField='id' isKey={true} dataSort={true} sortFunc={numberSortFunc}>Product ID</TableHeaderColumn> <TableHeaderColumn dataField='name'>Product Name</TableHeaderColumn> <TableHeaderColumn dataField='price' dataSort={true} sortFunc={numberSortFunc}>Product Price</TableHeaderColumn> </BootstrapTable> );
v1.5.4 (2016-02-27)
- Search optimization(07c96c8)
v1.5.3 (2016-02-23)
- Fix #289 which happened after v1.5.2(ecf744c)
- Fix column-filter broken when using default value and pagination(add9ff6)
- Fix origin column filter broken after v1.5.1(b2625c0)
- Fix the screen is still dimmed after insert row(8582ca4)
- Move inline style for display no data text to css file(8d8553b)
v1.5.2 (2016-02-21)
- #276(4578e3d)
- #279:Fix data should be filtered out after editing(760ef80)
- Fix search work on hidden column(1f3798b)
- #283:Fix rare a bug when enable column-filter and
keyField
(125e975)
v1.5.1 (2016-02-17)
- Fix On state change: Uncaught TypeError: Cannot read property 'props' of null(38a8bd9)
- New filtering behavior + default filter definition(68416ef)
- Add className on delete and insert button(3baedef)
- Add className on no data
<th>
, can Customize of the "no data to display" cell(79dd442)
v1.5.0 (2016-02-05)
- Fix variable reference issue for default selected(13f736c)
- Support column formatting with extra data(9de2e9e)
- Check this examples
- Change the pagination behavior(74c1fc7)
- Check this PR for more detail
- Show sorting caret on header if sort enabled(55ac719)
v1.4.6 (2016-01-30)
- Support column format with extra data(a4e4565)
- Add
formatExtraData
inTableHeaderColumn
. Check the example inexamples/js/column-format/extra-data-column-format-table.js
- Add
- Add Clear button for cleaning search input field(8d41dc5)
- add
clearSearch
onoptions
props
var options = { clearSearch: true }; //... ReactDOM.render( <BootstrapTable data={collection} options={options}>... );
- add
v1.4.5 (2016-01-25)
- Fix pagination lost(6fe1812)
check example in
examples/js/selection/externally-managed-selection.js
- Fix #213(c004c90)
- Add class on select all checkbox(b955d92)
- Support source map(d0d78ef)
- Sorting data provided in data in-place rather than using a copy or some other heuristic(3157dbe)
v1.4.4 (2016-01-21)
- Sorting not re-rendering data when dataFormat is being used(7810fa3)
- Table should be sortable when a column is hidden programmatically(1c403b1)
v1.4.3 (2016-01-20)
- Row end with a superfluous comma when export csv(078d91d)
- Apply a dataFormat column will breaks when hiding(6878e90)
- Setting default sort and then sorting first time always sort descending(ab43542)
v1.4.2 (2016-01-16)
- Fix handleSort Function is not changing caret icon(b8ebbb3)
- Fix search fails on columns in data set but not included in table(0ce3eb4)
- Support showing selected row only(a18a463)
- add
showOnlySelected
onselectRow
props
var selectRowProp = { mode: "checkbox", showOnlySelected: true };
- add
- Improve long table performance(564379a)
v1.4.1 (2016-01-10)
- Fix the background color of header can't spread to 100%(fa2c827)
- Allow to filter or search data which after formatting(9be42ad)
- Apply
filterFormatted={true}
on<TableHeaderColumn>
to enable filtering formatted data.
- Apply
- Add class(table-footer-pagination) on pagination for better customization(1ab1662)
- Add class(table-header-wrapper) on table header for better customization(fa2c827)
- Improve search bar too small on small screens (eg. iphone4/5)(674bf95, 351d925)
v1.4.0 (2016-01-06)
- Fix condensed table with a overlapping padding on first row(159b8f3)
- Support max height(91bcf2a)
- Assign
maxHeight
to set a max height of table.
- Assign
- Allow to customize confirmation for row deletion(eb21ec8)
function customConfirm(next){ if (confirm("(It's a custom confirm function)Are you sure you want to delete?")){ //If the confirmation is true, call the function that //continues the deletion of the record. next(); } } var options = { handleConfirmDeleteRow: customConfirm } <BootstrapTable data={products} deleteRow={true} selectRow={selectRowProp} options={options}>...
- Tuning the styling of pagination and toolbar panel(3100ee6)
- Upgrade
react-toastr
to2.3.0
(d9e1c14) - Upgrade
react
to0.14.3
(9af1c24)
v1.3.3 (2015-12-25)
- Fix Uncaught TypeError: Cannot assign to read only property when edit column after search(689b60f)
- Make the paginatation button disabled appropriately when page change to the end or begin(502cffb)
v1.3.2 (2015-12-20)
- Fix a case where current page and pagination size is lost(f01f6ec)(1d57c6d)
- Pagination style tuning(9ccf5ab)
- Support return value from onSelect and onSelectAll handlers(bf27116)
- If return value of this function(onSelect or onSelectAll) is false, the select or deselect action will not be applied.
- Support indeterminate status to select all checkbox(3d9be07)
- Support to change display text when data was empty(d4e16e7)
var options = { noDataText: 'Your_custom_text' }; <BootstrapTable data={products} options={options} >...
v1.3.1 (2015-12-12)
- Fix column broken when resize to bigger window from smaller(d4b3f87)
- Add selection event of size per page dropdown in pagination(7fbd868)
v1.3.0 (2015-12-06)
- Fix import by RequireJS unavailable(3272c45)
- Available to add a custom class on a selection of row(ff06fcd)
var selectRowProp = { mode: "checkbox", className: "my-custom-select-class" }; <BootstrapTable data={products} selectRow={selectRowProp} >...
- Available to insert row By API(a47276a)
- Check this thread
- Available to drop row by API(88062b7)
- Check this thread
- Available to filter by column through API
- Check this thread
v1.2.15 (2015-12-01)
- Fix TableDataSet is now available via Window object(b6c065a)
- Fix warning message "Cannot read property 'refs' of undefined_adjustHeaderWidth" when resizing window(fe1910a)
v1.2.14 (2015-11-27)
- Fix the NaN value in style(8a6b9b0)
v1.2.13 (2015-11-25)
- Fix sizing bugs in 1.2.11 tested in firefox(4d0f7cd)
- Fix csv export bug use on server side rendering(3d46d88)
- Fix #152(ee5e3f5)
- Don't draw a dropdown if one or zero options for pagination size list(881b7cd)
v1.2.12 (2015-11-19)
- Fix select row unavailable cause of change in v1.2.11(0dd2dc1)
- Use comma delimited in csv instead of tab delimited(1a219c6)
v1.2.11 (2015-11-16)
- Fix missing multiColumnSearch if data reload(cf6a933)
- Fix condensed style bug(4957f55)
- Fix column content exceed user column width definition(88b1368)
v1.2.10 (2015-11-14)
- Fix loading toastr css timeout problem(9f592d0)
v1.2.9 (2015-11-13)
- Fix Only a ReactOwner can have refs(9e7de02)
- See detail in Issues#131
v1.2.8 (2015-11-11)
- Fix Overflow on column width bug(9ff999e)
- Fix column hidden bug when export csv(7009c39)
- Fix row click also trigger row selection(1cb7dbd)
- Change to page one if data reload(69233b8)
- It's about the issue#125, but not yet fix certainly.
v1.2.7 (2015-11-07)
- Support Export CSV
- Set
exportCSV
to true on<BootstrapTable>
,csvFileName
is alternative property for csv file name.
- Set
- Support
onRowClick
for after clicking a row(b442d95)- Add
onRowClick
in options properties on<BootstrapTable>
var options = { onRowClick: function(row){ } } <BootstrapTable data={products} options={options} >...
- Add
- Support
afterSearch
andafterColumnFilter
for after searching or column filtering(eccb61d)- Add
afterSearch
orafterColumnFilter
in options properties on<BootstrapTable>
var options = { afterSearch: function(searchText, result){ }, afterColumnFilter: function(filterConds, result){ } } <BootstrapTable data={products} search={true} columnFilter={true} options={options} >...
- Add
- fix checkbox default toString() bug(f8ad7a2)
v1.2.6 (2015-11-03)
- Support multi search(4874169)
- Add
multiColumnSearch={true}
on<BootstrapTable>
- In search input text, you can use space to split search text, for example: "usa france japan" to search table which contain usa or feance or japan.
- Add
- Upgrade to [email protected](2459c24)
v1.2.5 (2015-10-27)
- Fix header and body unalign(3f44200)
v1.2.4 (2015-10-26)
- The gap between table and pagination(c1a886b)
- Ensure default checkbox in editor is String(0ef45d0)
- Support
keyField
(2fab4d8)- Set
keyField
in<BootstrapTable>
to specify which column is key. - Actually, this attribute is as same as the
isKey
in<TableHeaderColumn>
. So you can choose on to assign which column is key.
- Set
- Add
onPageChange
hook
function onPageChange(page, sizePerPage){ ... } var options = { onPageChange: onPageChange } <BootstrapTable data={products} pagination={true} options={options} >... }
- Add
onSortChange
hook
function onSortChange(sortName, sortOrder){ ... } var options = { onSortChange: onSortChange } <BootstrapTable data={products} options={options} >... }
v1.2.3 (2015-10-24)
- Split toastr css with react-bootstrap-table css(06defe2)
react-bootstrap-table-all.min.css
include toastr cssreact-bootstrap-table.min.css
doesn't include toastr css
- Updat dependencies for [email protected](a3a7b0c)
- Remove deprecated .getDOMNode() calls(37b5c7e)
- Update examples UI and add react-router(4166580)
v1.2.2 (2015-10-21)
- Table Scroll error(20ed3aa)
v1.2.1 (2015-10-19)
- Get selected Data only show in table when onSelectAll be called(9d391ee)
function onSelectAll(isSelected, currentDisplayAndSelectedData){ //.. }
v1.2.0 (2015-10-13)
- Remove toastr's css hard dependency(28e0b11)
- Upgrade to [email protected](ad78516)
v1.0.3 (2015-10-10)
- Fix window is undefinde if use react-bootstrap-table in isomorphic(f5db238)
v1.0.2 (2015-10-09)
- Fix wrong path of toastr
v1.0.1 (2015-10-08)
- Wrong Dependencies with react-toastr and toastr(bd16999)
v1.0.0 (2015-10-04)
- Separate classname of header and body column
- Set className in <TableHeaderColumn> to define class on header
- Set columnClassName on <TableHeaderColumn> to define class on body's column
- Add cell edit validation and input type(select,checkbox,textarea)
- Add a complete examples Demo
- Run
gulp example-server
and go to localhost:3004/example-list.html
- Run
- Give more customize features on Pagination
- Default pagination setting
v0.9.17 (2015-09-25)
- Hide row selection column(260a1a4)
- Compatible on both