Topic: How to assign the row property onclick

Hi,

I want to assign a onClick event to <tr> created with clsTableUpdater class. The following code does not work. Looking at the xajax-debug output everything seems to be correctly, but the onClick has no effect... I've tried to put the same event to a manually created <tr> and it worked as supposed...

$objResponse->plugin('clsTableUpdater','assignRowProperty','onClick','show()','row_'.$rownum);

Same problems with onmouseover, ...

Any suggestions?

Thanks
Regards,

Fred

Re: How to assign the row property onclick

it's "onclick" not "onClick" if I remember correct

Re: How to assign the row property onclick

Solved the problem. I was fixed on this tablePlugin instead of simply using a method provided by xajaxResponse...

$objResponse->addEvent('row_'.$rownum, 'onClick','show()');

First assign the whole row, then add an event to this row