1) How to reset the scroll position of kendo ui mobile dropdownlist to top ,instead of displaying the list starting from the last selected item.
2) How to put an indicator within a kendo ui mobile dropdownlist ,allowing the user to know that he/she has to scroll down to view the items below
Regards,
Sarvesh
5 Answers, 1 is accepted
Hello Sarvesh,
I am afraid that both requests cannot be fulfilled currently with the Kendo UI DropDownList for mobile application. You can submit this as a feature request on UserVoice, so that it is considered for implementation in a future release.
Regards,Kiril Nikolov
Telerik
Hi,
To reset the scroll position of kendo ui mobile dropdownlist to top
In onchange event of kendo ui dropdownlist add
onChange: function (e) {
var scroller = e.view.scroller;
scroller.reset();
}
Regards,
Sangeeta
Hi,
Using
var dropdown = $("#dropdownid").data("kendoDropDownList");
var scroller = dropdown.list.kendoMobileScroller({ visibleScrollHints: true });
makes the scrollbar within kendo ui popup visible always but it looks untidy
While scrolling through the dropdownlist it displays default scroller shown while scrolling within the dropdownlist in addition to the scroller make visible
Any suggestion with respect to this ? As making the scrollbar within kendo ui dropdownlist popup is important.
Hello Sarvesh,
This behavior is expected, as this is what visibleScrollHints options does, and there is no workaround here, you can just disabled the option.
Regards,Kiril Nikolov
Telerik