Home » » Getting Cell value through Column name in Telerik MVC Control?

Getting Cell value through Column name in Telerik MVC Control?

Written By M.L on சனி, 10 மார்ச், 2012 | மார்ச் 10, 2012

I am getting the cell value of a particular row in Telerik MVC Control, through OnRowSelect event using
         e.row.cells[1].innerText
But i want to get the value corressponding to the name of Column rather than the key.

SOLUTION 1:
Check if this helps.
 
var dataItem = $('#GridId).data('tGrid').dataItem(e.row);    
alert(dataItem['Id']);
 

 
Note : Provide your comments by clicking below options! Thanks ! :)

0 comments:

கருத்துரையிடுக

Popular Posts

General Category