[DataTable]: header's padding are not aligned with the cell's padding when columnsGap and renderRow props are applied #2595
-
Steps to Reproduce
Example: Actual resultHeader's padding is not aligned with the cell's padding when columnsGap prop applied. Expected resultThe header's and cell's text are aligned in the first column, as well as they are aligned in the other columns, or as well as they are aligned without the renderRow option passed to the DataTable props. Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you provide |
Beta Was this translation helpful? Give feedback.
If you provide
renderRow
callback, you also should specifycolumnGap
prop forDataTableRow
, otherwise defaultcolumnGap
value will be used, which is equal to '24'.