TableHeader: prop type `colGroups` is invalid
See original GitHub issueHi 😃,
I am getting a warning:
Warning: Failed prop type: TableHeader: prop type colGroups
is invalid; it must be a function, usually from React.PropTypes.
in TableHeader (created by BootstrapTable)
with even the simple code as:
render() {
return (
<BootstrapTable data={[{id:1}]} >
<TableHeaderColumn isKey={true} dataField='id'>ID</TableHeaderColumn>
</BootstrapTable>
)
}
Using 15.4.1 react and latest version of react boostrap table
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:21 (9 by maintainers)
Top Results From Across the Web
Warning: Failed prop type: Invalid prop `children` supplied to ...
Using react-md, I'm trying to build a table from an array of objects. I have one fixed column header but everything else is...
Read more ><th>: The Table Header element - HTML - MDN Web Docs
colgroup : The header belongs to a colgroup and relates to all of its cells. If the scope attribute is not specified, or...
Read more >theme_table | theme.inc | Drupal 7.x
An array of attributes applied to the COLGROUP element, ... sticky: Use a "sticky" table header. empty: The message to display in an...
Read more >Tables in HTML documents
Furthermore, authors may declare column properties at the start of a table definition (via the COLGROUP and COL elements) in a way that...
Read more >Table | Components - BootstrapVue
Using props responsive and fixed together will not work as expected. Fixed table layout uses the first row (table header in this case)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks for issue report, I think I made a little mistake on
v2.8.0
, I’ll fix it soon.hi all, this issue fixed on
v2.8.1
, let me know if this problem still remain.