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
<Table columns={columns} dataSource={data} expandable={{ rowExpandable: (record) => { console.log('record ', record); return record.children ? true : false; }, expandIcon: ({ expanded, onExpand, record }) => { if(!record.children || record.children.length === 0) return null; return expanded ? ( <DownOutlined onClick={e => onExpand(record, e)} /> ) : ( <RightOutlined onClick={e => onExpand(record, e)} /> ) }, expandedRowRender: (record, index, indent, expanded) => { console.log(record, index, indent, expanded); return <Button>Save</Button>; } }}/>
Expandable row should be below children
Expandable row currently placed above record children
Raised question on stackoverflow: https://stackoverflow.com/questions/68826658/ant-design-table-need-to-place-expandable-row-before-parent-children
The text was updated successfully, but these errors were encountered:
Any workaround?
Sorry, something went wrong.
No branches or pull requests
Reproduction link
Steps to reproduce
What is expected?
Expandable row should be below children
What is actually happening?
Expandable row currently placed above record children
Raised question on stackoverflow: https://stackoverflow.com/questions/68826658/ant-design-table-need-to-place-expandable-row-before-parent-children
The text was updated successfully, but these errors were encountered: