I want to implement double click behaviour, for handling double clicking client and server side. This functionality is missing with the last version.
My idea is to develop a GridBehavior for double clicking. This behavior must handle client and server side event.
For so far I need to develop an class that extends from GridBehavior. But there is no documentation and example codes. Can the Infragistics team helps me to give me the essential documentation? I think when this behavior is developed it's a nice example for other developer on the Infragistics website.
The solution what I have implemented for now is not nice, but it's a workarround. I handle the InitGrid client event to register a javascript method, the method will be executed when the use double clicked in the grid.
Oké I have now a behavior that I can use in my WebDataGrids. The Javascript of my behavior will be executed and I can get or set something of my grid. My old code can I register in the behavior. See code example below.
$IG.DoubleClickBehavior =
function(obj, objProps, control, parentCollection) {
alert(
$IG.DoubleClickBehavior.initializeBase(
if (this._grid.get_rows().get_length() > 0 && this._grid.get_rows().get_row(0) != null) {
gridRow.get_element().parentNode.ondblclick =
//alert(this.get_clientFunction());
//eval(this.get_clientFunction() + "();");
}
Now I want to register the double click event handler with this method this._grid._addElementEventHandler
Is it possible to do it with this method? What is the signature of that method, I can't find any documentation.
AgentD5 said: Hey, Here is a forum post where an example project is attached showing how to implement a highlight row behavior. You could perhaps follow this to get started.Regards,David Young
Hey,
Here is a forum post where an example project is attached showing how to implement a highlight row behavior. You could perhaps follow this to get started.Regards,David Young
Ok, I had seen this solution, I have also implemented this in my project. But is the HighlightBehavior the only example you have? And is there no documentation???