RadGrid for ASP.NET

GetCellByColumnUniqueName Send comments on this topic.
Client-side API Reference > Classes > RadGridTable > Methods > GetCellByColumnUniqueName

Glossary Item Box

Gives you the cell specified by a row and a column unique name.

function GetCellByColumnUniqueName (gridRow, columnUniqueName )

gridRow

RadGridTableRow

the row which holds the cell

columnUniqueName 

String

the UniqueName of the column which identifies the cell uniquely

In order to get the cell value, you need to use the innerHTML property:

Copy Code
var ContactName = gridTable.GetCellByColumnUniqueName(gridrow , "ContactName").innerHTML;

 

Note: The ShowHeader attribute for the RadGrid/MasterTableView should be set to true in order to use this method.