Comments (2)
@anthonydillon you can pass additional html attributes to the cell object and they will be passed to the cell.
So you could do something like this:
{
content: last_login,
"data-date": last_login
}
And the cell will become something like:
<td role="gridcell" data-date="2020-01-01">2020-01-01</td>
We need to document that this can be done.
from react-components.
Ah cool thanks.
from react-components.
Related Issues (20)
- ContextualMenu keyboard accessibility
- List Middot - uneven middot spacing
- Investigate components composition patterns
- SearchBox input should receive focus after clearing HOT 5
- Remove nanoid dependency in favour of React.useId HOT 1
- Suggest using userEvent library instead of fireEvent for simulating user interaction
- export Theme so it can be used as a value
- Fix Navigation link types
- The `content` wrapper is a p and it throws `validateDOMNesting` errors
- The Docs tab is missing from Storybook demos
- Component docs don't have a way to see the code HOT 1
- Allow a custom prop for stack form input column widths HOT 1
- Segmented Controls in React Vanilla
- Field component should allow custom label id
- Consider removing testing-library/no-node-access lint rule HOT 4
- No option to add a hidden table caption HOT 1
- Stepped List component p tag warning error HOT 6
- Tooltip adding hidden elements when closed
- wrong links that goes to 404
- Clicking on tooltip fires parent onClick
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 react-components.