Results 1 to 4 of 4

Thread: ??????????????????submit????

  1. #1
    Ext User
    Join Date
    Mar 2009
    Posts
    21

    Default ??????????????????submit????

    ????????????????????????????????????submit???????????????????????????

    ????????????????????????????????????hogeForm.getForm().submit();?????????????????????get,post?????Dump?????????Name???????????????????????????????????????

    Code:
    var sm = new Ext.grid.CheckboxSelectionModel({singleSelect:false});
    Code:
    var cm= new Ext.grid.ColumnModel([
        sm
        ,{header: "Item"    , width: 50   ,sortable: true, dataIndex: "item", id:'prvlg'}
        ,{header: "Group"   , width: 50  ,sortable: true, dataIndex: "group"}
    ]);
    Code:
    var hogeForm = new Ext.FormPanel({
        id: 'form'
        ,frame: true
        ,title: 'Create Domain'
        ,labelAlign: 'left'
        ,bodyStyle: 'padding:5px'
        ,width: 385
        ,layout: 'fit'
        ,items: [{
                xtype: 'fieldset'
                ,labelWidth: 120
                ,border: false
                ,items: [{
                        fieldLabel: 'Name'
                        ,xtype: 'textfield'
                        ,name: 'name'
                        ,allowBlank: false
                        ,vtype: 'alphanum'
                    },{
                            xtype: 'editorgrid',
                            border: true,
                            frame: true,
                            ds: ds,
                            cm: cm,
                            sm: sm,
                            view:vw
                    }]
                }]
            }
        ]
    });
    ???????????????submit???????hidden??????????????????????
    ???????????

  2. #2
    Sencha - Support Team yuki's Avatar
    Join Date
    Jun 2007
    Location
    Chigasaki, Japan
    Posts
    273

    Default CheckboxSelectionModel?????????

    Firebug?????????????CheckboxSelectionModel?????????????div??????????

    ????????????????????CheckBoxSelectionModel?getSlections????????????????????????????????????????
    Ext Japan, LLC [Twitter: @extjapan]
    [Ext JS / Ext GWT????????][????????????][Ext JS???????????????]

  3. #3
    Ext User
    Join Date
    Mar 2009
    Posts
    21

    Default yuki?????????????????

    ???????submit???????????????????
    ???????????????CheckBoxSelectionModel??????
    renderer???????????????????????????????????


    Code:
    renderer:function(){return '<input type="checkbox" name="' + insert_an_id_here + '" />'}
    ????????????????????????????????
    http://extjs.com/forum/showthread.php?t=3053


    ???????????????????????????

  4. #4
    Ext User
    Join Date
    Mar 2009
    Posts
    21

    Default ???

    ???????????????????????????

    Code:
    renderer:function(){return '<input type="checkbox" name="' + insert_an_id_here + '" />'}
    submit????????????????????????????
    ?????????Firefox??????????IE7??checkbox???????????????
    ????????????????????????????????????

    Code:
    input[type=checkbox],input[type=radio] {
        margin: 0;
        padding: 0;
        height: 11px;
        width: 11px;
        vertical-align: middle;
    }
    ?????height?width????????????
    ?????????????

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •