We can take the earlier example and improve on it considerably. It would feel quite natural to subclass the grid panel. Ext JS encourages this, and Ext.NET provides excellent support for this concept. The basic approach involves the following:
Let's see how this might work. To keep things simplified, we will extend the GridPanel to become a reusable financial grid panel.
In this approach we will do the following, while extending the GridPanel:
Columns, and various other properties.