Inject attrributes on tr in datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi ther
I have a lookup table in a popup window, that generated by datagrid
How can I inject an onclick attribute for each tr
Furthermore I would like to assign a column value from current tr

The html should be
<table><tr onclick = "func(1)"><td>1</td><td>qqq</td></tr><tr onclick = "func(2)"><td>2</td><td>uuu</td></tr></table
thanks
 
Hi
Thanks, but I got error: "Specified cast is not valid", probably for the ctype
What can be the reason?
 
Back
Top