We will start with a simple grid with just a Store and some basic column definitions. To show some different data types rendered, we will use the same dummy financial sample data used in some of Ext.NET's own Examples Explorer to produce the following:
Let's have at a look at a breakdown of how we created the preceding grid. First we set up the data. For the purposes of this book, the sample data will be simply defined in the following CompanyData
class with a static helper method to get the data:
public class CompanyData { public int Id { get; set; } public string Name { get; set; } public double Price { get; set; } public double Change { get; set; } public double PercentChange { get; set; } public DateTime LastChange { get { return DateTime.Now; } } public CompanyData(int id, string name, double price, double change, double percentChange) { // code omitted for brevity; each argument is assigned // to corresponding property. } public static...