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
getDataGroupBy.js
rsuite-utils/src/utils/getDataGroupBy.js
Line 13 in 23fc6b9
In the ECMAScript 2017 (ECMA-262) the part of Object.entries(). If key type is Number ,it will sort in ascending order. eg:
Object.entries()
Number
Object.entries({2:'test1',1:'test2'});
But key type is String,it will be sorted in the order in which they are declared. eg:
String
Object.entries({a:'test1',b:'test2'});
so if my group value type is number ,it will sort in ascending order.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rsuite-utils/src/utils/getDataGroupBy.js
Line 13 in 23fc6b9
In the ECMAScript 2017 (ECMA-262) the part of
Object.entries()
.If key type is
Number
,it will sort in ascending order.eg:
But key type is
String
,it will be sorted in the order in which they are declared.eg:
so if my group value type is number ,it will sort in ascending order.
The text was updated successfully, but these errors were encountered: