-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
SingleSelect and MultiSelect Editors not working correctly when sorted desc #46
Comments
@jmzagorski You can already see this bug on the live Example 3 demo on the "% complete" column because that one has the sorted collection in descending order. |
yup, can't remember why I used |
I actually found that problem while doing the new feature of Excel Copy Buffer, which I just merged. This copy buffer uses the |
I tried it in my Angular repo and made these changes - if (this.defaultValue.indexOf($e.value) !== -1) {
+ if (this.defaultValue === $e.value) { That seems to be all good, also note that You can do the change today or I'll make the change sometime tonight. |
That will work for the Side note, i was put on a high priority 1 week project since the end of last week so I have not been able to get to anything I wanted to on slickgrid. |
There was 2 We can re-open if it comes back, but it seems to be ok with the quick tests I made, so I'll close the issue. |
@jmzagorski A lot of goodies before I leave. |
I'm submitting a bug report
Current behavior:
If we sort the collection to be descending and we have a value higher than 10, it will select an incorrect value in the editor. For example, if the value is 94, it will incorrectly choose 4.
Expected/desired behavior:
What is the expected behavior?
Choose the correct value in the editor
What is the motivation / use case for changing the behavior?
The text was updated successfully, but these errors were encountered: