Results 1 to 6 of 6

Thread: checkboxes in roweditor broken

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-18494 in 6.0.1.250.
  1. #1

    Default checkboxes in roweditor broken

    Ext version tested:
    • Ext 6.0.0 rev 640




    Browser versions tested against:
    • Chrome 43.0.2357.130 (64-bit)
    • Safari 9.0 (10601.1.35.2.4)




    DOCTYPE tested against:
    • html




    Description:
    • Checkboxes do not appear in the roweditor.




    Steps to reproduce the problem:
    • Create a roweditor for a store with true/false values that should be editable with a checkboxfield.




    The result that was expected:
    • Show checkboxes to be able to change the value.




    The result that occurs instead:
    • No checkboxes appear. Worked perfectly on ExtJs 5 and before. Not working in 6 beta or GM.

    Fiddle: https://fiddle.sencha.com/fiddle/ppq

    Code:
    Ext.application({
        name : 'Fiddle',
    
    
        launch : function() {
    
    
            Ext.create('Ext.data.Store', {
                storeId: 'simpsonsStore',
                fields:[ 'name', 'email', 'phone'],
                data: [
                    { name: 'Lisa', checked: true, email: '[email protected]', phone: '555-111-1224' },
                    { name: 'Bart', checked: false, email: '[email protected]', phone: '555-222-1234' },
                    { name: 'Homer', checked: true, email: '[email protected]', phone: '555-222-1244' },
                    { name: 'Marge', checked: false, email: '[email protected]', phone: '555-222-1254' }
                ]
            });
            
            Ext.create('Ext.grid.Panel', {
                title: 'Simpsons',
                store: Ext.data.StoreManager.lookup('simpsonsStore'),
                columns: [
                    {header: 'Checked', dataIndex: 'checked', editor: 'checkboxfield'},
                    {header: 'Name', dataIndex: 'name', editor: 'textfield'},
                    {header: 'Email', dataIndex: 'email', flex:1,
                        editor: {
                            xtype: 'textfield',
                            allowBlank: false
                        }
                    },
                    {header: 'Phone', dataIndex: 'phone'}
                ],
                selModel: 'rowmodel',
                plugins: {
                    ptype: 'rowediting',
                    clicksToEdit: 1
                },
                height: 200,
                width: 400,
                renderTo: Ext.getBody()
            });
    
    
        }
    });

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3

    Default

    I found this workaround, until this bug will be fixed:

    Code:
    if (Ext.getVersion().version==='6.0.0.640') {
      Ext.util.CSS.updateRule('.x-grid-editor .x-form-cb','position','absolute');
      Ext.util.CSS.updateRule('.x-grid-editor .x-form-cb','left','initial');
    }
    Sergio.

  4. #4
    Sencha Premium Member
    Join Date
    Sep 2011
    Posts
    122

    Default

    Wow! Thats a show-stopper for me!

  5. #5
    Sencha Premium User couetbis's Avatar
    Join Date
    Jan 2008
    Location
    Nantes - France
    Posts
    108

    Default

    Any change with this bug ?
    I have always problem in 6.0.2.437.

    The workaround don't work for me.

    Any suggestion ?

  6. #6
    Sencha Premium User
    Join Date
    Nov 2013
    Location
    Piacenza, Italy
    Posts
    220

    Default

    The Fiddle seems to work correctly with 6.0.1 and 6.0.2.

Similar Threads

  1. Replies: 15
    Last Post: 9 Sep 2013, 3:50 AM
  2. Replies: 2
    Last Post: 18 Apr 2012, 5:50 PM
  3. Ext.ux.grid.RowEditor TextArea CSS broken unded IE 8
    By pAq85 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 11 Jan 2011, 5:50 AM

Tags for this Thread

Posting Permissions

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