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

  • 相关阅读:
    Matlab命令集常用字符串函数
    统计独立性和统计相关性
    查看solaris下硬盘的物理大小
    Perl命令行开关
    DateFormat.getDateInstance出现Unparseable date
    ActiveMQ 本地转本地再转远程的完整配置
    aspose.words 操作word生成试卷
    汇编in和out介绍
    eclipse开发国际化项目利器:MultiProperties
    RCP+GEF+界面开发(2)[eclipse插件配置LINK方法]
  • 原文地址:https://www.cnblogs.com/TerryLiang/p/1430346.html
Copyright © 2011-2022 走看看