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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top