zoukankan      html  css  js  c++  java
  • ExtJs中ComboBox使用之技巧

    在ExtJs中,想要提交ComboBox的Value,需要设置hiddenName:

     1 xtype: 'combo',
     2                                        fieldLabel: '产品品牌',
     3                                        emptyText: "--产品品牌--",
     4                                        displayField: 'Name',
     5                                        valueField: 'Id',
     6                                        hiddenName:'brand',
     7                                        triggerAction: 'all',
     8                                         120,
     9                                        editable: false,
    10                                        forceSelection: true,
    11                                        allowBlank: false,
    12                                        store: new Ext.data.JsonStore({
    13                                            url: '/admin/getproductbrands',
    14                                            root: 'ProductBrands',
    15                                            fields: ['Id''Name']
    16                                        }
    )
    17

  • 相关阅读:
    Lucene.net中的异常处理
    解决lucene 1.* 使用排序后内存溢出问题
    常用的正则表达式
    我的博客开通了
    oracle 常用函数
    破解 office 正版增值计划补丁
    关于dbcommandbuilder的几点说明
    类型转换(一)
    可变数量的参数
    关闭页面时操作数据库
  • 原文地址:https://www.cnblogs.com/TerryLiang/p/1430346.html
Copyright © 2011-2022 走看看