jQuery UI Widgets › Forums › Angular › How to create a separator item in JXMenu built from JSON data
This topic contains 1 reply, has 2 voices, and was last updated by Martin 1 month, 2 weeks ago.
There is a separator line jxmenu shown in the Default Functionality example.
The separator line is right after Manufacturing item in the Solution menu.
It is created by setting the type attribute of the <li></li> element:
<li><a href="#Financial">Financial services</a></li>
Is there a way to create a similar separator item in the jxmenu that is built from JSON data?
Here is a link of JSON menu example
You could add an item with empty text in the JSON data and then select it and add jqx-menu-item-separator class to it after the jqxMenu is created.
Please, take a look at the following Example.
You must be logged in to reply to this topic.