Hi,
In the client API online documentation here, it is said the parameters for OnRowClick are :
But, using Firebug, I get this that the sender is a RadGrid object, not a gridDataItem object.
Using the following function for example validates that the sender in not the row...
When trying to access sender.get_element().attributes, I do not get the <tr> attributes but the RadGrid's <div> attributes.
Am I missing something? Do I read the documention wrong ? I need to access a custom attribute in the <tr>. How can I do it ?
Thanks,
dstj.
In the client API online documentation here, it is said the parameters for OnRowClick are :
gridDataItem - tablerow instance
domEvent - dom event
But, using Firebug, I get this that the sender is a RadGrid object, not a gridDataItem object.
sender = Object_element=div#ctl15_rgrdMembers.RadGrid |
Using the following function for example validates that the sender in not the row...
function RowClick(sender, eventArgs) |
{ |
alert(sender.get_element().getAttribute("id")); |
} |
When trying to access sender.get_element().attributes, I do not get the <tr> attributes but the RadGrid's <div> attributes.
Am I missing something? Do I read the documention wrong ? I need to access a custom attribute in the <tr>. How can I do it ?
Thanks,
dstj.