jQWidgets Forums
jQuery UI Widgets › Forums › Lists › ListBox › Scroll bar dosent work after listBox disable
Tagged: ListBox ScrollBar
This topic contains 3 replies, has 2 voices, and was last updated by Peter Stoev 12 years, 2 months ago.
-
Author
-
hi,
$(‘#listBoxGroupFeatures’).jqxListBox({ disabled: true });
$(‘#listBoxMasterFeatures’).jqxListBox({ disabled: true });I perform the above operation when a tree node is clicked to show the content disabled to the user.
When i disable it for the first time the scroll bars (vertical and horizontal) works fine , on clicking the node again and performing the above operation once again , the scroll bars dosen’t work , only the mouse wheel works which is very annoying, again if i reload the listbox the scroll bar drag to top dosent work it goes downwardswhen you move up Please suggest a solution, much appreciated
Thanks,
alex.dev
Hi alex.dev,
If you report an issue, please include the following information in your post:
– jQuery version, jQWidgets version, device type(PC, Mobile), browser name and version.
– Please, provide step by step instructions on how to reproduce the reported issue or provide a sample which demonstrates it.Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Sorry for not being clear.
jquery version :jquery-1.8.2.min
jqwidgets : jqwidgets-ver2.6.1
IE verison : 8
Chrome: Version 25.0.1364.97 m
PC: windows 7
Scenario : 1) There is a button in the page , when we click on it there is a listBox updated with the items from the server and is disabled , because user can only view it
How it works: the scroll bar is added automaticaly and can be dragged up and down
2) Click the button again and the listbox is added
How it works: ListBox is disabled, but the scroll bar is not dragable . Only mouse wheel works at this time
Note:$(‘#listBoxGroupFeatures’).jqxListBox({ disabled: true });
$(‘#listBoxMasterFeatures’).jqxListBox({ disabled: true });I use the above commands to disable the listbox after adding it.
Hope this is sufficient
Thanks
Hi alex.dev,
Thanks for the feedback. We reproduced the reported behavior and confirm it. The correct behavior should be: When the ListBox is disabled, the list items should not be clickable, the scrollbars should be disabled and the mouse wheel should be disabled. Unfortunately, in this version, a workaround is not available.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.