Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by denf on Aug 17, 2008 06:19
open dhtmlx forum
How to add close button

Hello,

How to add `close button` to calendar control?
I need simply`close button` attached to calendar (without any text header with it).
This question isn't explained in the official documentation and examples.
Answer posted by Support on Aug 18, 2008 01:57
Unfortunately there is no such built in functionality.
Answer posted by denf on Aug 18, 2008 03:23
But I can see there exists an ability to add 'minimize' button to calendar??
Answer posted by Support on Aug 18, 2008 04:42
The ability to add extra buttons to calendar is not fully implemented in curent version.
You can just inject custom HTML inside calendar control - sample attached. 
Attachments (1)
Answer posted by denf on Aug 18, 2008 19:39
Ok that, but how to add a image in the control instead of a text?
Answer posted by Support on Aug 19, 2008 02:48
The same approach,  just use <img src='some.gif'> instead of text