I am using material-table in react. I need to make one row always editable. I cannot find the solution for this. Is there any solution?
Asked
Active
Viewed 69 times
0
-
Try adding content-editable= true to your td class. – Rohan Rao Dec 11 '19 at 10:38
-
@Anuj you want to edit on same place? – akhtarvahid Dec 11 '19 at 10:41
-
@RohanRao, I cannot able to add because material-table always create td dynamically – Anuj Dec 11 '19 at 10:45
-
@VahidAkhtar, what a need is when I click the icon to add new row(not material-table Add button) it will create new row with editable. – Anuj Dec 11 '19 at 10:47
-
@Anuj can you show your design? – akhtarvahid Dec 11 '19 at 10:49
-
@Anuj can you show your code /design where you have you written this material-table? – Rohan Rao Dec 11 '19 at 11:05
-
actions={[ { icon: () =>
, tooltip: 'Copy', onClick: (event, rowData) => { ** Functionality to add copy of row in editable mode ** } } ]} I used this action this as a prop in material-table – Anuj Dec 11 '19 at 11:09