I'm not quite sure about your requirement. Please take a look into the sample code snippet I tried to show Customer id as the Header of the columns in RadGrid.
RadGrid1.DataSource = PivotTable(GetDataTable("SELECT TOP 5 CustomerID, CompanyName, ContactName, ContactTitle, Address, PostalCode, City, Country FROM Customers"));