question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Table data rendering issue

See original GitHub issue

React-table version : 6.5.3

I am trying to render table using sample data below

{ "tableData": [{ "a.status": "closed" }, { "a.status": "opened" }, { "a.status": "reopened" }], "columns": [{ "Header": "Activity Status", "accessor": "a.status" }] }

columns are rendering perfectly but data is not rendering. After long struggle when I change my data like this : { "tableData": [{ "a_status": "closed" }, { "a_status": "opened" }, { "a_status": "reopened" }], "columns": [{ "Header": "Activity Status", "accessor": "a_status" }] }

What is the solution, if I want to render with first set of data.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
baerrachcommented, Sep 28, 2017

Did you try it?

0reactions
tannerlinsleycommented, Oct 1, 2017

This is a question of implementation. We invite you to join the slack channel and ask for help there or on stack overflow. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rendering problem? — DataTables forums
Answers · Clear browser cookies & cache · Open above URL in first Tab · Open above URL in second Tab too (so...
Read more >
How to lazy render large data tables to up performance
Lazy rendering means that you only render what you need to display. With very large tables we want to avoid rendering all the...
Read more >
Poor table re-render performance, all elements are always re ...
Entire table, all rows and all cells always re-render when something changes, even though nothing related to those cells actually changed.
Read more >
Issues with HTML UI and rendering tables with DT / htmlwidgets
I am having trouble getting my datatables to render for my shiny app. I think part of the problem is that these files...
Read more >
jquery datatable gives error when rendering - Stack Overflow
1 Answer 1 ... You have to place the columns property outside of the ajax property like this: $(document).ready(function () { var options...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found