Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by dian.kwok on Sep 09, 2008 01:11
open dhtmlx forum
custom HTML in grid header

Hi team,

I'm making a custom <select></select> in grid header and already suceeded. The only thing that troubles me is when onChange or onClick event of the dropdown the grid will also do the sorting.
I notice that this behaviour is not happening in #select_filter in header.

Should i add some code to the custom dropdown events to overcome this problem?

Thanks in advance.
Answer posted on Sep 09, 2008 01:25
>>Should i add some code to the custom dropdown events to overcome this problem?
You need to block onclick event, similat to next
    <select onclick=" (arguments[0]||event).cancelBubble=true; " ...