转帖地址:http://www.itwis.com/html/programme/javascript/20081109/2744_2.html


今天在CSDN博客上看了有关一篇 基于ExtJs框架的B/S高级查询界面的文章,感觉做的效果不错,特来转发上来,希望对有需要的朋友们一点帮助。
支持动态添加多个查询条件、定义逻辑关系,支持整形、浮点、字符串、日期、布尔值、自定义选择列表的录入,通过Ext.data.JsonStore可        editor:new Ext.form.ComboBox({
            store: [')','))',')))','))))'],
            mode: 'local',
            triggerAction: 'all',
            valueField: 'value',
            displayField: 'text',
            editable: false
        })
    }
]);

var grdDPQuery = new Ext.grid.EditorGridPanel({
    height:500,
    width:490,
    renderTo:"hello",   
    cm:colM,
    sm:new Ext.grid.RowSelectionModel({singleSelect:false}),
    store:dsPQ,
    region:'center',
    border: false,
    enableColumnMove: false,
    enableHdMenu: false,
    loadMask: {msg:'加载<textarea id=preview rows=5 cols=70></textarea>
</body></html>

 

相关文章:

  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
  • 2021-05-03
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2021-08-30
猜你喜欢
  • 2021-07-02
  • 2021-05-04
  • 2021-09-29
  • 2021-11-21
  • 2022-12-23
相关资源
相似解决方案