AllenFang / AllenFang/react-bootstrap-table
Dynamic TableHeaderColumns with search and exportToCSV props doesn't work in BootstrapTable
- 主要語言
- JavaScript
- 星號
- 2.2k
- 分支
- 761
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I am creating a table like this. I am using react-bootstrap-table version 4.3.1

The students data look like this
[ { id: 1, firstName: abc, lastName: xyz, listAtten:[ { date: 9-10, status: A}, { date: 16-10, status : P } }, { id: 2, firstName: cde, lastName: ijk, listAtten:[ { date: 9-10, status: P}, { date: 16-10, status : A } }, {...} , {...} ]. The Attendance header column will group all the student's attendance date.
This code is oke and work as I expected. **Note that my students[0] is set to { id:0 } by default before I call API to set it to another value**



but when I add the search props or exportToCSV props its throw error


Please help me with this issue, I cant use react-boostrap-table2 because it's doesn't support header column grouping
貢獻指南
評估
這個 Issue 還沒有評估資料。