jQuery UI Widgets › Forums › Lists › DropDownList › Dropdown select all filtering problem
Tagged: angular dropdownlist, bootstrap dropdownlist, checkbox, filterable, javascript dropdownlist, jQuery DropDownList, jqwidgets dropdownlist, jqxDropDownList, typescript dropdownlist
This topic contains 10 replies, has 4 voices, and was last updated by ivanpeevski 3 years, 1 month ago.
-
Author
-
Hi I was able to implement a select all items in the dropdownlist. But when I use the filter, on index 0 the it would not select the item. Also whenever I select the option “Select All”, it should not display the item “Select All”. It should just show the rest of the items
Example:
I Use filter and typedown “Shelley”, the dropdownlist filters down to the result but when I try to select. It is not selecting the item.here is my jsfiddle:
http://jsfiddle.net/v6qkag80/10/Ok I was able to fix it. Now I select the option “Select All”, it should not display the item “Select All”. It should just show the rest of the items
Hello dan123,
Can I understand, you resolved the issue?
If you need additional help feel free to contact us.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comNo i still want to solve this issue:
When I select the option “Select All”, it should not display the item “Select All”. It should just show the rest of the items
Hello dan123,
Please, take a look at this example.
Hope this helps.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHi thanks Hristo, I think i wrote the explaination incorrectly, Whenever I select “Select All” the dropdown will show in text as “Select All” and the the rest of the items in the dropdown will be checked. Also maintaining the threestatecheckbox.
If in the dropdown i checked the “Select All”, and When I deselect any items from the dropdown it will show the remaining items that were checked like Affogato, Americano, Bicerin, etc.
Here is your jsfiddle
http://jsfiddle.net/3coLkbd3/3/Hello dan123,
This is expected behavior. If you uncheck an item, this item is not showed on the DropDownList label anymore.
Could you give us more details what you want to achieve?Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comBasically when I select “Select All” it will show that in the value in the dropdown and all other items will be checked.
I figured it out
I am encountering the same. Do we have a fix on this on the later builds? Thank you!
The issue is when we filter, then we tick the first entry of the filtered item, it will not be in checked state but it’s in an indeterminate state. I suspect, that it is because it is performing the function of the ‘Select All’ since ‘Select All’ is also located the first entry of items. Since they the the same visibleIndex = 0.Hi msoriano,
Please have a look at the updated fiddle, based on the one shared above: https://jsfiddle.net/qy1mw0ck/2/
You will see that after filtering, the first entry can be checked.
If you have any other questions, please do not hesitate to contact us again.
Best Regards,
Ivan Peevski
jQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.