-
I am working on a project that has a data grid that will be very dense (potentially 1000s of rows). I am using zebra striping to help with parsing each row. I was wondering if I can set the margin top/bottom of table rows to 8px? Also, can I also display more than 10 rows at a time? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @mtl87, I've brought this back to the team and we'll follow up here shortly. Thanks for your patience! |
Beta Was this translation helpful? Give feedback.
-
Hi @mtl87, I'm afraid the row height for Data Grid and Table isn't customizable. It's possible to display more than 10 rows at a time in the coded component; in Figma, we've built the variants to 10 rows. If there's a lot of actionable content in cells, consider pairing the Data Grid/Table with Pagination since a keyboard-only user would have to tab 1000 times to get past the Table if there are 1000 rows to get through. Also with such a large number of rows, Pagination would help with batch loading the content. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi @mtl87,
I'm afraid the row height for Data Grid and Table isn't customizable.
It's possible to display more than 10 rows at a time in the coded component; in Figma, we've built the variants to 10 rows. If there's a lot of actionable content in cells, consider pairing the Data Grid/Table with Pagination since a keyboard-only user would have to tab 1000 times to get past the Table if there are 1000 rows to get through. Also with such a large number of rows, Pagination would help with batch loading the content.
Hope this helps!