Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ben Durber on May 09, 2008 08:05
open dhtmlx forum
Text Node on Menubar

Hi,

How do I simply add some text (or HTML) to the menu without it acting as a button?

Eg. I want to display the name of the current record in between previous and next buttons.

Thanks

Ben
Answer posted by Support on May 15, 2008 07:45

Basically any element of menu is active , but you can disable it - so it will not react on mouse actions and look as static text.

<?xml version='1.0' ?>
<menu maxItems="12" name="Demo Menu" mixedImages="yes">
         <MenuItem name="First" id="button1"/>
         <MenuItem name="Just a text" id="dummy1" disabled="true"/>
         <MenuItem name="Second" id="button2"/>