extjs错误,看到红色才能让自己记住知识点

1.Cannot call method 'getColumnCount' of undefined

Hi, maybe you use colModel before rendering.
Notice api "The Ext.grid.ColumnModel to use when rendering the grid (required)."
If you have to use colModel before rendering, you can new an Ext.grid.ColumnModel to grid's colModel when you new the grid.

 

posted @ 2013-08-25 21:29  等风来。。  Views(230)  Comments(0Edit  收藏  举报
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------