在extjs中添加搜索框,搜索框代码如下:

this.searchField = new Ext.ux.form.SearchField({
            store : this.store,
            paramName : 'name',
            emptyText : '姓名',
            style : 'margin-left:5px;',
        });

效果如下所示:

extjs在窗体中添加搜索框

 

当点击按钮的时候自动加载数据给数据源store,数据源此时load()。

this.store.load();

相关文章:

  • 2021-09-13
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2021-11-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-11-14
  • 2021-09-06
  • 2022-12-23
  • 2021-08-26
相关资源
相似解决方案