我使用sencha -sdk ./ext-5.0.1生成MyApp ./MyApp来获取新的应用程序。 并运行sencha应用程序手表, 开发工具Netbeans 8.02,带有Netbeans连接器的Google Chrome。 然后,我创建了一个与GridPanel中4个数据行,并将其添加在Main.jsEXTJS 5:为什么Ext.grid.Panel没有StripRows效果,将主题从Neptune更改为crisp
Ext.define('MyApp.view.grid.GroupsList', {
extend: 'Ext.grid.GridPanel',
....
即使我不设置stripRows为真,我仍然获得了stripRows效果。 我想改变而改变的主题app.json文件
"theme": "ext-theme-neptune", to "theme": "ext-theme-crisp",
谷歌Chrome的自动更新2〜3次,那么主题改变,但没有更多的stripRows。 我在Gridpanel的定义中添加了“stripRows:true”或“viewConfig:{stripRows:true}”,没有任何效果。 当我将app.json文件改回'neptune'时,stripRows回来了。 我测试了更多的主题: “咏叹调”一切都OK。 “经典”一切都OK。
但是,如果我设置“stripRows:false”或“viewConfig:{stripRows:false}”,stripRows总是在那里。