Comments (12)
also have the same exact problem (trying to override the headerClassName) - using 5.3.4
from table.
i researched how to use it:
import tableDefaultProps from 'react-table/lib/defaultProps';
<Table
{...{data, columns}}
column={{...tableDefaultProps.column, filterRender}}
/>
from table.
It's not just the storybook. The 5.0.0 update seems to be broken. Getting this error when trying to render the table: column.getHeaderProps is not a function
.
from table.
I'm getting the same error: TypeError: column.getHeaderProps is not a function
using v5.0.2
when trying to override the column
defaults like so:
<ReactTable
data={data}
columns={columns}
styleName="table"
column={{headerClassName: 'header'}}
/>
I was under the impression this kind of props override is possible after reading the docs. Or is it not possible to override for object type props like the one for column
?
from table.
from table.
Just issued a fix. [email protected]
Sorry!
from table.
Thanks a lot
from table.
Before starting to use this can someone confirm if it supports fixed header and fixed set of columns on the left for horizontal scrolling? Can't see it in the documentation
from table.
from table.
reopen pls
from table.
How to solve this problem?
from table.
Try changing your import statement:
Instead of:
import ReactTableDefaults from "react-table"
Try:
import { ReactTableDefaults } from "react-table"
h/t @gavinsharp
from table.
Related Issues (20)
- V7 documentation seems to be missing, resorting to Wayback Machine HOT 3
- The `FiltersTableState` type is no longer exported after PR #5413, It's a breaking change. HOT 1
- Examples for svelte in documentation page not working HOT 1
- AccessorFnColumnDefBase not being exported, causes type error with an array of columns defined by columnHelper HOT 1
- Pagination state in endless loop HOT 2
- `useQwikTable(options)` causes vite to crash in dev mode HOT 5
- Table refreshes when i check a checkbox HOT 2
- autoResetPageIndex not resetting properly HOT 2
- How to add onClick with useState hook in cell. Error re-renders because of getRowModel()
- [Vue warn]: Invalid VNode type: Symbol(react.fragment) (symbol)
- Column Virtualisation is not working in case we have grouped columns
- "regeneratorRuntime is not defined" error in documentation example
- hello world example gives multiple errors, starting with "Can't resolve 'crypto' "
- createColumnHelper's DeepKeys fails to properly resolve keys for accessor
- Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at getFacetedUniqueValues.ts:20:38
- Filters are not working with react table infinitescrolling HOT 1
- getVisibleLeafColumns The header of the getVisiBleleafColumns column is misaligned when the groups configuration is included
- Column visibility APIs do not work with column groups
- sortingFn: 'alphanumeric' returns numbers last HOT 1
- Site not loading HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from table.