This is a migrated thread and some comments may be shown as answers.

Collapse point

6 Answers 55 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 19 Feb 2016, 11:46 AM

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

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 23 Feb 2016, 06:13 PM
Hello Jon,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jon
Top achievements
Rank 1
answered on 23 Feb 2016, 06:39 PM

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

0
Accepted
Ivan Danchev
Telerik team
answered on 24 Feb 2016, 02:01 PM
Hello 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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jon
Top achievements
Rank 1
answered on 24 Feb 2016, 02:09 PM

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

0
Ivan Danchev
Telerik team
answered on 26 Feb 2016, 03:00 PM
Hello 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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jon
Top achievements
Rank 1
answered on 26 Feb 2016, 04:00 PM

Thanks Ivan,

Have a nice weekend,

Regards

Jon

Tags
Navigation
Asked by
Jon
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Jon
Top achievements
Rank 1
Share this question
or