Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    17
    Vote Rating
    0
    ijayaprasad is on a distinguished road

      0  

    Default ExtJs Property Grid with checkbox

    ExtJs Property Grid with checkbox


    I need to display checkbox in extjs property grid for a specific property. From the api doc, its clear this can be achieved by customEditor property of property grid.
    My property store: [{name: 'xxx', type: 'boolean', value:'false'},
    {name: 'yyy', type: 'checkbox', value: 'false'}]
    Here i need to display checkbox for name 'yyy' row. Is this possible to do so? When i use custom editor like below,
    Ext.grid.propertyGrid({
    customEditor: {
    'yyy': new Ext.grid.GridEditor(new Ext.form.checkbox())
    }
    })
    the checkbox is displayed in edit mode. But a string(true/false) is displayed in normal mode. I need checkbox to be displayed in normal mode also.Please help.

  2. #2
    Sencha User
    Join Date
    Jun 2012
    Posts
    17
    Vote Rating
    0
    ijayaprasad is on a distinguished road

      0  

    Default


    Any ideas?

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    17
    Vote Rating
    0
    ijayaprasad is on a distinguished road

      0  

    Default


    This can be achieved using customRenderers property of propertyGrid as,


    customRenderers: {
    yyy: function(value) {
    return "<input type='checkbox' name='yyy'>"
    }
    }


    With the above property the checkbox will be displayed in normal mode also.
    Last edited by ijayaprasad; 27 Jul 2012 at 12:00 AM. Reason: formated

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    1
    Vote Rating
    0
    jishen521 is on a distinguished road

      0  

    Default


    可以用汉字回复吗?

  5. #5
    Sencha User
    Join Date
    Jun 2012
    Posts
    17
    Vote Rating
    0
    ijayaprasad is on a distinguished road

      0  

    Default


    Can you post the above message in English please? or mention whether it is chinese or Japanese so that I can translate the same.

Thread Participants: 1

Tags for this Thread