I have a sql table with fields: Id, Field1, Field2, Field3, Field4, Field5 and I have another table with a column f1, f2, f3, f4, f5 this table has only one row with this data: code, provider, model, year, price
I have this model in my project
public class Products
{
[ScafoldColumn(false)]
public Guid Id{get;set;}
public string Field1{get;set;}
public string Field2{get;set;}
public string Field3{get;set;}
public string Field4{get;set;}
public string Field5{get;set;}
}
And I want my kendo grid column heading not to look like Field1 ... but as the data in table 2 (code, supplier, model, year, price) how can I load this data from the table and set the column heading of the kendo table?
source
share