I am using Version=9.1.20091.2137 of WebCombo which has the same version of UltraWebGrid as its dropdown.
I can't get the UltraWebGrid to fire the event dblClick.
The single click does fire.
I'm not sure if the problem is with the client-side code required to define the handle to the event, or some other reason.
Thanx,
Mike Steiner
Hello Mike,
Thank you for getting back to us.
I guess the issue us happening because you are using older version of NA.
I am using the latest service release of v10.3
I recommend you upgrading to the last service release of 9.1 (9.1.20091.2187)
Please refer to the attached sample and let me know if you need further assistance.
HI Tsvetelina,
I tried the code you posted here, but I'm sorry to say that the dblclick was not fired for the WebCombo's grid.
Mike
Hi Mike,
Thank you for the additional information.
I gues you are searching for this:
var combo = igcmbo_getComboById(webComboId);
combo.getGrid().MainGrid.ondblclick= DblClickEvent;
In my previous post I have used the container in order to achieve this :
function WebCombo1_InitializeCombo(webComboId) {
//Add code to handle your event here.
// combo.container.ondblclick = DblClickEvent;
// combo.inputBox.ondblclick = DblClickEvent;
}
Please let me know if you need further assistance regarding this.
Hi Tsvetelina,
The above code, and also the the forum post you mentioned all relate to the double click event in the textbox part of the WebCombo.
My requirement is to define a handler for the dblclick event in the dropdown list part of the WebCombo, which is an UltraWebGrid control.
In the InitializeCombo event of the WebCombo, I am able to get a handle on the grid using: myGrid = combo.getGrid().
I also see that a dblclick event appears under myGrid.Element.dblclick.
However, even after setting this to my dblclick handler:
myGrid.Element.dblclick = DblClickEvent;
it seemed that the event was not fired in the grid part of the combo.
So in the meantime, I remain with my workaround.
Tnx
Thank you for the clarification.
You mean WebCombo control.
Please refer to the below forum post:
function WebCombo1_InitializeCombo(webComboId){
combo.container.ondblclick = DblClickEvent;
combo.inputBox.ondblclick = DblClickEvent;
function DblClickEvent() {
alert('double click the webcombo textbox');
http://forums.infragistics.com/forums/p/14079/53943.aspx#53943
Let me know if you need further assistance regarding this.