setEvent() with setId()
Hi all;
I m trying to add doubleclick event on the row of the grid object. For css classes i use
and proper class definitions for this id. Behavior of this grid should be as following;
- onclick update another grid. Which is done by
-ondblclick set some variables and update some other tables, goes on like this. Here where i have problems.
works when setId() not used.
I think getTemplate("row") is the reason for this. Can someone tell me what the template name "row" should be changed as when i setId as "xyz" for example. I tried "xyz-row" and some other but couldn't make it work.
Any idea, suggestion or solution is appreciated. Thanks.
I m trying to add doubleclick event on the row of the grid object. For css classes i use
awgridob.setId("patlistgrid");
and proper class definitions for this id. Behavior of this grid should be as following;
- onclick update another grid. Which is done by
awgridob.onCellClicked = function(event, col, row){....}
with expected behaviour.
-ondblclick set some variables and update some other tables, goes on like this. Here where i have problems.
awgridob.getTemplate("row").setEvent("ondblclick", dblevnt);
works when setId() not used.
I think getTemplate("row") is the reason for this. Can someone tell me what the template name "row" should be changed as when i setId as "xyz" for example. I tried "xyz-row" and some other but couldn't make it work.
Any idea, suggestion or solution is appreciated. Thanks.
S.Onur SELAMET
November 1,