Open in app
Matthew Brown
106 Followers
About

Sign in

106 Followers
About
Open in app
Can you please tell me how I show data if my json fill is 4 layer of nested data example attached
1

Pardeepvats

Matthew Brown

Matthew Brown

·Nov 16, 2020

You have a couple of options. If you have a look at the React Tables column options documentation you can give columns an accessor function where you could return the nested data. Check that out here: https://react-table.tanstack.com/docs/api/useTable#column-options

You could also alternatively do some data transformation to flatten this down so it's no longer nested.

More from Matthew Brown

I am the Director of I.T. at IN10T. My passions include software development, anything technology related, and cars.

More From Medium

Build Offline Capable Apps With React Native and Redux Offline

Matthew Brown in The Startup

Create a REST API With NodeJS and PostgreSQL

Matthew Brown in The Startup

Build Awesome Map Apps with React Native and Mapbox

Matthew Brown in JavaScript In Plain English

Simple State Management With MobX and React

Matthew Brown in The Startup

Clean Up Your React Code With Custom Hooks

Matthew Brown in The Startup

How to Set Up a Deployment Pipeline with React, AWS, and Bitbucket

Matthew Brown in JavaScript In Plain English

How to Create a Serverless NodeJS REST API

Matthew Brown in The Startup

How to Build Awesome Tables With React Table

Matthew Brown in The Startup

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store