Have extra fields in Row of Datatable.
See original GitHub issueWhat package(s) are you using?
-
carbon-components
-
carbon-components-react
Summary
I am trying to use the datatable component.
What I want to have is to have access to row content that is not being shown to the screen.
For example.
row = [a,b,c,d,e]
header = [a, b, c]
so only a b c show up as cell.
but in selectedRow prop I would like to have access to d or e, which are metadata useful for me but not useful for the user to see.
Is this possible in an easy way?
Relevant information
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Child rows (show extra / detailed information) - DataTables
This can be used to show additional information about a row, useful for cases where you wish to convey more information about a...
Read more >How to add extra field in datatable which is not database
I am trying to add edit and delete button in data table. I have html <table id="example" class ...
Read more >Ignoring the Extra Columns/Rows during the Data Scrapping ...
First scrape the entire Table from web page using Data Scraping and will give output as DataTable. Let's say 'InputDT'. And then try...
Read more >Resize a table by adding or removing rows and columns
Learn how to add rows and columns to an Excel table. ... of cells you want your table to include, starting with the...
Read more >FlexCards Datatable Properties - Salesforce Help
With the Datatable element, display a tabular structure of the data fetched from a data ... Enable to fire a delete custom event...
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
Our table is only responsible for rendering what it’s given; have you tried to do a lookup with the row ID to get to that metadata info you want?
Thanks for the update and glad you’ve got it working 🎉