i used your method to work arround in MVC way but no success i am not be able to build grid dynamically can you please tell me what is the MVC way. following is the code which i am using in my grid view widget in the initComponent function:

I am trying to do the same thing with a difference that i want to add checkcolumns dynamically.
With template columns, its working fine but with checkcolumns, i am not able to specify the dataIndex and the header.