Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steve Wyatt on May 06, 2008 19:10
open dhtmlx forum
onRowSelect event on selected row

I am using onRowSelect event to perform some actions when the row is selected and it works fine. What I need is for the onRowSelect event to be fired when the currently selected row is clicked/selected again. Can you suggest a way that I can do this?
Answer posted by Support on May 07, 2008 02:20
If you are using attachEvent - this must be default behavior.
    grid.attachEvent("onRowSelect",myfunction);

In case of using setOnRowSelectHandler, you need to set second parameter as true
    grid.setOnRowSelectHandler(myfunction,true);