1、Sencha Touch 默认 style=" 100% !important;"时如何去掉这个设置?
updateRecord: function(record) { var me = this; me.element.setStyle('width',''); }
使用setStyle方法重新定义宽度,实际上是清除了上述style。