Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by MB on Jul 22, 2009 21:36
open dhtmlx forum
Adding Image to buttonInput

Hello!
I have creating an xml for the toolbar and I want to add the image to the buttoninput. but it doesn't work. How can I add the image or attach image to the inputbutton field?

<item height="20px" width="80px" id="text_1" type="buttonInput" value="text1" img="img1" imgdis="img1"/>

Thanks
MB
Answer posted by Alex (support) on Jul 23, 2009 01:19

Hello,

the toolbar doesn't support input with image button. 

We have customized the dhtmlxtoolbar.js to enable this functionality (not official). 

The sample with modification is attached.

Attachments (1)
97.zip40.66 Kb
Answer posted by Orson on Aug 07, 2009 12:22
I have done it by creating button with image and then disabling it.