Open jussirantala opened 9 months ago
Looks like a duplicate of https://github.com/adobe/react-spectrum/issues/5334
renderEmptyState
prop of TableBody
cannot be used because it doesn't let you set a class name for the tr
or td
generated and we need to have a classname for them (cannot style with parent styles).
Provide a general summary of the feature here
It would be very useful to be able to set
colSpan
for thetd
element rendered by Cell.It is used to make a cell fill more than one column for special table layouts.
๐ค Expected Behavior?
colSpan
prop is inCell
prop types and the prop is passed totd
.๐ฏ Current Behavior
colSpan
prop is not passed totd
.๐ Possible Solution
Pass
colSpan
totd
. I tried to hack this by modifying DOM directly and it worked.๐ฆ Context
We would use it for displaying a error message inside the table. It should be horizontally centered and fill all the columns.
๐ป Examples
No response
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response