We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use case Need to use a different icon for the expand button.
Ideas
Add a rendering method expandCellRender
expandCellRender
{ prefixCls, expanded, record, needIndentSpaced }
ExpandIcon
advantage: allows flexibility disadvantage: requires work in rc-table
Option 2, requires no work on rc-table
advantage: no work in rc-table disadvantage: content is text only
text
The text was updated successfully, but these errors were encountered:
@hrgui do you have an example for Option: 2? How to override css classes used in react component
Sorry, something went wrong.
Closing since its resolved in #236
This fix not work with children
No branches or pull requests
Use case
Need to use a different icon for the expand button.
Ideas
Add a rendering method
expandCellRender
expandCellRender
, PropTypes.Function that has the following props:{ prefixCls, expanded, record, needIndentSpaced }
expandCellRender
is passed, then instead of renderingExpandIcon
, just callexpandCellRender
. https://github.com/react-component/table/blob/master/src/ExpandableRow.js#L69advantage: allows flexibility
disadvantage: requires work in rc-table
Option 2, requires no work on rc-table
advantage: no work in rc-table
disadvantage: content is
text
onlyThe text was updated successfully, but these errors were encountered: