material-table
material-table copied to clipboard
Adding a link to items in a particular column
I want one of the fields in the table to have a link associated with it. So that I can navigate to another page on clicking the item. Is this possible in the currently available features?
For example, I have an ID column in the table. On clicking each of these IDs the user should be navigated to a new page to show details associated with that row. I'm aware of the details panel but my requirement is to display all the details in a new page as fitting all the information within the detail panel looks messy.
adding render in columns solved this..
columns={{ title: 'ID', field: 'id', editable: 'never', render: rowData => {rowData.id} }}