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

get_dataType()

Property which returns the data type of the corresponding column.

Meaningful when filtering is enabled for the grid or client-side command is handled (inside the OnCommand client-side event handler) and the grid is not bound server-side. Otherwise the returned value will be 'undefined'!

get_dataType()

Example:

function getFirstColumnDataType() {
    var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
    //determine the data type for the first grid column
    var dataType = masterTable.get_columns()[0].get_dataType();
} 
In this article