Browse Source

Revert "docs: Document argument order swap in sorter function. (#5343)"

This reverts commit ac2e611168.
pull/5350/head
Wei Zhu 8 years ago
parent
commit
ae021260dd
  1. 2
      components/table/index.en-US.md

2
components/table/index.en-US.md

@ -93,7 +93,7 @@ One of Property `columns` for descriping column, Column has the same API.
| filterDropdownVisible | whether filterDropdown is visible | boolean | - |
| onFilterDropdownVisibleChange | called when filterDropdownVisible is changed | function(visible) {} | - |
| filteredValue | controlled filtered value | string[] | - |
| sorter | sort function for local sort, see [Array.sort](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)'s compareFunction. Arguments will be automatically swapped based on ascend/descend sort order. If you need sort buttons only, set it `true` | Function\|boolean | - |
| sorter | sort function for local sort, see [Array.sort](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)'s compareFunction. If you need sort buttons only, set it `true` | Function\|boolean | - |
| colSpan | span of this column's title | number | |
| width | width of this column | string\|number | - |
| className | className of this column | string | - |

Loading…
Cancel
Save