multiple data in one field
is there a way like i can use 2 data in one field? like i can concat datestart and dateend?
You can use custom column rendering. https://material-table.com/#/docs/features/custom-column-rendering
In your case something like this:
{title: 'Column with 2 values', render: (rowData) => rowData.firstname + " " + rowData.lastname}
Aww thanks you so much about this will try it
On Tue, 13 Aug 2019 at 8:11 PM madflanderz [email protected] wrote:
You can use custom column rendering. https://material-table.com/#/docs/features/custom-column-rendering
In your case something like this: {title: 'Column with 2 values', render: (rowData) => rowData.firstname + " " + rowData.lastname}
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mbrn/material-table/issues/977?email_source=notifications&email_token=AKOS6FZLFE37TLFQJUDIVBDQEKQFLA5CNFSM4ILGSNJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FOSKI#issuecomment-520808745, or mute the thread https://github.com/notifications/unsubscribe-auth/AKOS6FYT3NW4M2LKM6Z6GALQEKQFLANCNFSM4ILGSNJA .
@madflanderz is there a way to render and edit data conditionally in a column ?
Hi is there a way I can add a value received from API and have a button in front of it to toggle some additional data on that button click?? Basically I want to be able to add some html code before my data in the column