What is the control over when the navigation menu is collapsed into the more menu? I have a menu whereas soon as the page width drops below approx 500px the remaining items are moved to the more menu.
This happens even when there is a ton of space left.
There doesn't seem to be a property to control this.
Regards
Jon
6 Answers, 1 is accepted
The Navigation's _minWidth private property controls when the Nodes will be collapsed under the button. Its default value is 720 so setting it to 100 or 50 would allow nodes to remain visible until the control's width is reduced significantly. Note that in general we do not recommend using private properties as these are subject to changes in subsequent releases.
Regards,
Ivan Danchev
Telerik
Hi Ivan,
Thanks very much for that. It works very well now - one more thing crossed off my pre-launch list :)
Can I request that this be added to the request system please? I think that it would be nice to have it as a full property and thus protected from changes.
Best Regards
Jon
We will consider adding a public property, meanwhile you can also use the Navigation's set_minWidth() client-side method, which is public.
Regards,
Ivan Danchev
Telerik
Hi Ivan,
Ah that's great that there is a method - no need for the public property then. I've just changed it to use that and again it works perfectly. Thanks for the pointer!
Regards
Jon
You are welcome. We will create an additional resource dedicated to this method and its functionality in order to make it more accessible.
Regards,
Ivan Danchev
Telerik
Thanks Ivan,
Have a nice weekend,
Regards
Jon