Hello friends of telerik. I want to pass tha data cells from a row to textboxs by client-side.
I try to follow this tutorial but I only have the same result with the object undefinided. How i can do this? what is the real name of the column?
Here is my code (Don't worry If you can't understand the name, it's on spanish) and a screen shoot of the table.
I try to follow this tutorial but I only have the same result with the object undefinided. How i can do this? what is the real name of the column?
Here is my code (Don't worry If you can't understand the name, it's on spanish) and a screen shoot of the table.
<
telerik:RadGrid
ID
=
"dgv_usuarios"
runat
=
"server"
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"true"
/>
<
Animation
AllowColumnReorderAnimation
=
"true"
/>
<
ClientEvents
OnRowClick
=
"rowUsuario"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
function
rowUsuario(sender, eventArgs) {
var
grid = sender;
var
MasterTable = grid.get_masterTableView();
var
row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
var
cell = MasterTable.getCellByColumnUniqueName(row,
"Nombre"
);
alert(
"Su dato es: "
+ cell.innerHtml);
}