You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if its possible to custom style the portion of react-table which has empty rows. for example - lets say the table only populates 2 rows (and the default setting is 5 rows per page)
Instead of showing 3 blank rows -> i would like to fill up this space with a custom react component.
Is this possible?
i'm aware of the prop PadRowComponent={() => <h1>Hello</h1>} , but this populates each empty cell with 'Hello'. But i would like to style ALL empty rows with 1 single component.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Guys.
I was wondering if its possible to custom style the portion of react-table which has empty rows. for example - lets say the table only populates 2 rows (and the default setting is 5 rows per page)
Instead of showing 3 blank rows -> i would like to fill up this space with a custom react component.
Is this possible?
i'm aware of the prop
PadRowComponent={() => <h1>Hello</h1>}
, but this populates each empty cell with 'Hello'. But i would like to style ALL empty rows with 1 single component.Thanks
Beta Was this translation helpful? Give feedback.
All reactions