New issue
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
Fix #10819: Added docs for "expandIconAsCell" and "expandIconColumnIndex" #13750
Conversation
Deploy preview for ant-design ready! Built with commit 1e07f51 |
Codecov Report
@@ Coverage Diff @@
## master #13750 +/- ##
==========================================
+ Coverage 93.71% 93.72% +0.01%
==========================================
Files 314 314
Lines 6633 6633
Branches 1734 1765 +31
==========================================
+ Hits 6216 6217 +1
+ Misses 406 405 -1
Partials 11 11
Continue to review full report at Codecov.
|
2 similar comments
Codecov Report
@@ Coverage Diff @@
## master #13750 +/- ##
==========================================
+ Coverage 93.71% 93.72% +0.01%
==========================================
Files 314 314
Lines 6633 6633
Branches 1734 1765 +31
==========================================
+ Hits 6216 6217 +1
+ Misses 406 405 -1
Partials 11 11
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #13750 +/- ##
==========================================
+ Coverage 93.71% 93.72% +0.01%
==========================================
Files 314 314
Lines 6633 6633
Branches 1734 1765 +31
==========================================
+ Hits 6216 6217 +1
+ Misses 406 405 -1
Partials 11 11
Continue to review full report at Codecov.
|
@@ -67,6 +67,8 @@ const columns = [{ | |||
| expandedRowKeys | 展开的行,控制属性 | string\[] | - | | |||
| expandedRowRender | 额外的展开行 | Function(record, index, indent, expanded):ReactNode | - | | |||
| expandIcon | 自定义展开图标,参考[示例](http://react-component.github.io/table/examples/expandIcon.html) | Function(props):ReactNode | - | | |||
| expandIconAsCell | 是否将expandIcon呈现为单元格。 | boolean | `false` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是否将 expandIcon
显示为单元格。
@@ -67,6 +67,8 @@ const columns = [{ | |||
| expandedRowKeys | 展开的行,控制属性 | string\[] | - | | |||
| expandedRowRender | 额外的展开行 | Function(record, index, indent, expanded):ReactNode | - | | |||
| expandIcon | 自定义展开图标,参考[示例](http://react-component.github.io/table/examples/expandIcon.html) | Function(props):ReactNode | - | | |||
| expandIconAsCell | 是否将expandIcon呈现为单元格。 | boolean | `false` | | |||
| expandIconColumnIndex | expandIcon的索引,表示expandIconAsCell为false时将插入哪一列。 | number | 0 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expandIcon
的索引,当 expandIconAsCell
为 false
时,会在这个位置插入一列
Fixes #10819 : Added docs for "expandIconAsCell" and "expandIconColumnIndex"
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your pull request, thank you!
master
, feature for branchfeature
.npm run lint
and fix those errors before submitting in order to keep consistent code style.Extra checklist:
if isBugFix :
elif isNewFeature :