ExtJS 6 plugin.rowwidget行主体组件在网格重新加载时保持不变

时间:2017-04-05 13:59:28

标签: extjs extjs6

我有一个Ext.grid.plugin.RowWidget的网格。重新加载网格存储时,我希望重新创建所有行体组件,但它们仍然存在。

这是simple fiddle,重复错误:

  1. 展开第一行;
  2. 更改任何文本字段的值;
  3. 点击“重新加载”按钮;
  4. 展开第一行。
  5. 我希望新的 # Remove already installed epel-release yum remove epel-release OR rpm -e epel-release # Install epel-release using YUM yum install epel-release # Install python-pip yum install python-pip ~]# yum install python-pip Loaded plugins: fastestmirror epel/x86_64/metalink | 11 kB 00:00:00 epel | 4.3 kB 00:00:00 (1/3): epel/x86_64/group_gz | 170 kB 00:00:00 (2/3): epel/x86_64/updateinfo | 769 kB 00:00:01 (3/3): epel/x86_64/primary_db | 4.6 MB 00:00:06 Loading mirror speeds from cached hostfile * base: mirror.eboundhost.com * epel: ftp.cse.buffalo.edu * extras: repo.us.bigstepcloud.com * updates: centos.mirrors.tds.net Resolving Dependencies --> Running transaction check ---> Package python2-pip.noarch 0:8.1.2-5.el7 will be installed --> Processing Dependency: python-setuptools for package: python2-pip-8.1.2-5.el7.noarch --> Running transaction check ---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed --> Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9.8-4.el7.noarch --> Running transaction check ---> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be installed --> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch --> Running transaction check ---> Package python-backports.x86_64 0:1.0-8.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved Package Arch Version Repository Size Installing: python2-pip noarch 8.1.2-5.el7 epel 1.7 M Installing for dependencies: python-backports x86_64 1.0-8.el7 base 5.8 k python-backports-ssl_match_hostname noarch 3.4.0.2-4.el7 base 12 k python-setuptools noarch 0.9.8-4.el7 base 396 k Transaction Summary 实例将空字段作为行主体组件...

    这是一个巨大的错误imo。

    作为临时解决方案,我可以在expandbody事件或onWidgetAttach方法上重置行主体组件,但对我来说这似乎是不好的解决方案。

0 个答案:

没有答案