Answers for "How to display html link inside table cell using reactjs material-table"

0

How to display html link inside table cell using reactjs material-table

import { Link } from 'react-router';

const columns = [
  {
    header: '',
    id: 'links',
    render: ({ row }) => (<Link to={{ pathname: `/example/${row.id}` }}>{row.name}</Link>)
  }
];
Posted by: Guest on May-05-2022
0

How to display html link inside table cell using reactjs material-table

import { Link } from 'react-router';

const columns = [
  {
    header: '',
    id: 'links',
    render: ({ row }) => (<Link to={{ pathname: `/example/${row.id}` }}>{row.name}</Link>)
  }
];
Posted by: Guest on May-05-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language