AllenFang / AllenFang/react-bootstrap-table

Ambiguity between 'defaultSortOrder' and 'defaultASC'

オープン
#1,631 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
react-bootstrap-table2
主要言語
JavaScript
スター
2.2k
フォーク
761
PR マージ指標
30日以内にマージされた PR はありません

説明

I was in need to make the first sort order as ascending when any column is sorted for the first time. So used `defaultSortOrder: 'asc'` option for table but it didnt work.

Then I used `defaultASC` prop with `TableHeaderColumn` element and it worked.

Now if `defaultASC` sets the first sort of a column then it is ambiguous with `defaultSortOrder`. And if `defaultSortOrder` sets the initial sort order of the column then it is ambiguous with `sortOrder` option.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。