Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Apr 07, 2009 22:19
open dhtmlx forum
dhtmlxAccordion icon hyperlink

hi,


i am using DHTMLXAccordion with an icon, is there any way i can attach hyper link with my own javascript to icon instead of having accordion onclick event ?

Actual my scenario is when user click on Accordion icon i want to refresh the Grid(s) which are under the accordion instead of accordion onclick event.

example
http://www.dhtmlx.com/docs/products/dhtmlxAccordion/samples/conf/icons.html
Answer posted by Alex (support) on Apr 08, 2009 05:26

Hello, 

the accordion icon doesn't provide onclick event. 

The attached sample contains modified dhtmlxaccordion.js which allows to attach onIconClick event handler.

Please, see the sample. It demostrates the dock functionality by clicking cell icon.

 

Attachments (1)
Answer posted on Apr 08, 2009 05:57
thanks