Edit this page

get_cell

This method takes a column UniqueName and returns the corresponding client table cell of the row. Useful to reference controls inside the cell or changing the appearance of the cell content.

get_cell(columnUniqueName)
columnUniqueName String The UniqueName of the column which identifies the cell uniquely

Example:

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server">
    <ClientSettings>
        <ClientEvents OnRowDataBound="RadGrid1_RowDataBound" />
    </ClientSettings>
</telerik:RadGrid>
function RadGrid1_RowDataBound(sender, args){
    // conditional formatting
    args.get_item().get_cell("TitleOfCourtesy").style.fontWeight = (args.get_dataItem()["TitleOfCourtesy"] == "Dr.") ? "bold" : "normal";
} 
note

get_cell() method works only with client-side binding.