zoukankan      html  css  js  c++  java
  • ExtJs 日期相加,Grid表格列可编辑

    1、日期相加:

    Ext.Date.add(new Date(), Ext.Date.DAY, 15)

    2、Grid表格列可编辑:

    {
        header : "实际已交货量",
        tooltip : '实际已交货量',
        dataIndex : 'actualQuantityDelivered',
        width : 100,
        editor : {
            xtype : 'numberfield',
            maxLength : 100,
            allowNegative : false,
            allowDecimals : true,
            decimalPrecision : 4
        },
        sortable : true
    }
    {
        header : "包装说明",
        tooltip : '包装说明',
        dataIndex : 'packDesc',
        id : 'packDesc',
        width : 100,
        editor : Ext.create('Ext.form.ComboBox', {
                store : packDescStore,
                defaultListConfig : {
                    maxHeight : 150
                },
                valueField : COMMON.COMBOX_KEY,
                displayField : COMMON.COMBOX_VALUE,
                anchor : '100%',
                editable : false,
                mode : 'local',
                triggerAction : 'all',
                selectOnFocus : true,
                emptyText : '请选择'
            }),
        sortable : true
    }

  • 相关阅读:
    Yantai
    Star War
    douban's woshang
    cannot change font's type in coreldraw
    LuXun said
    WaiTan
    free ubuntu disk前天就收到了寄来的光盘
    Winter Swimming
    before buy laptop买本本前,先来看看
    ubuntu beginer
  • 原文地址:https://www.cnblogs.com/BobXie85/p/9098679.html
Copyright © 2011-2022 走看看