Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Andrew on Jul 11, 2008 10:05
open dhtmlx forum
simple method to 'inject' a label into the toolbar ?

That is along the lines of what I want, although I would like the textbox inside the toolbar.   I could include a simple textbox on my page but it would not be inside your nice looking toolbar.  Would there be a simple method to 'inject' a label into the toolbar ?

Answer posted by Support on Jul 14, 2008 02:17
Please check attached sample.
Attachments (1)
Answer posted by Andrew on Jul 14, 2008 11:33

I can now do exactly what I was hoping, thank you for the example!

This sample inserts the textbox programaticlly, is there away to set it up in the XML config file? I can do it using the sample function, however I would like to try and keep all configs in the xml file.

 

Answer posted by Support on Jul 15, 2008 02:35
Can be done in similar manner, just need to escape HTML data, to not corrupt XML


<toolbar ....
   <LabelButton width='150px' content="&lt;input type='text'&gt;" />