material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Support adding an ID to table, row, and cell.

Open mviens opened this issue 7 years ago • 6 comments

Is your feature request related to a problem? Please describe. For styling and testing purposes, it is necessary to be able to add an ID to the table and each row and cell.

Describe the solution you'd like Having an id property that can be set would solve this. For the table, this property should be able to be set directly, in the same manner as title. For the rows, it seems appropriate that the property should specify a prefix and then have the row number appended to it. The same could apply for cells, or the calculated ID for the row could be used and further append the column number to it. Within the column configuration, a column ID should also be able to be specified.

Describe alternatives you've considered n/a

Additional context n/a

mviens avatar Jun 19 '19 01:06 mviens

How can i contribute?

sshanzel avatar Aug 20 '19 11:08 sshanzel

Is your feature request related to a problem? Please describe. For styling and testing purposes, it is necessary to be able to add an ID to the table and each row and cell.

Describe the solution you'd like Having an id property that can be set would solve this. For the table, this property should be able to be set directly, in the same manner as title. For the rows, it seems appropriate that the property should specify a prefix and then have the row number appended to it. The same could apply for cells, or the calculated ID for the row could be used and further append the column number to it. Within the column configuration, a column ID should also be able to be specified.

Describe alternatives you've considered n/a

Additional context n/a

just follow the bellow screenshot ;) Capture

therohitjha avatar Jan 17 '20 11:01 therohitjha

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Jun 30 '20 22:06 stale[bot]

I need the same feature as mviens for the testautomation to find the cells.

therohitjha doesnt work, because i dont want to have a column with the index in table, but that every cell has a unique id

Soquar avatar Jul 01 '20 07:07 Soquar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Sep 29 '20 09:09 stale[bot]

I need the same feature for the testautomation to find the cells.

panipinaka avatar Nov 06 '20 05:11 panipinaka