New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

get_dataItem

This method provides reference to the DataItem object (data container). Useful to obtain data from a particular row cell passing the UniqueName of the column as an indexer. Applicable only when client-side binding is used.

get_dataItem()

Example:

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server">
    <ClientSettings>
        <ClientEvents OnRowDataBound="RadGrid1_RowDataBound" />
    </ClientSettings>
</telerik:RadGrid>
function RadGrid1_RowDataBound(sender, eventArgs) {
    //extracts the employee name (from column with unique name "EmployeeName") of the currently bound grid item
    var employeeName = eventArgs.get_gridDataItem().get_dataItem()["EmployeeName"];
} 
In this article