Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ankit on Aug 11, 2009 02:37
open dhtmlx forum
onTab event

hi,

can u plz tell me which files needs 2 b include for "onTab" event bz it doesn't work on my system.

I attach lik dis way..

thisGrid.attachEvent("onTab", function(true){onTabPress();});

==================

function onTabPress()

{   //do some  }

bt it fails to call tht method.

 

Answer posted by Support on Aug 11, 2009 04:49
You are overcomplicate syntax of the command, it can be used as


function onTabPress(){
//do some
return true;
}
thisGrid.attachEvent("onTab", onTabPress);