rowHeight breaks table when buffered set to true

Questions related to our Sencha Touch based grid component
Post Reply
User avatar
osolano
Posts: 27
Joined: Sat Jun 15, 2013 2:44 pm

rowHeight breaks table when buffered set to true

Post by osolano » Fri Jul 12, 2013 12:36 am

Found another bug for you guys :)

When setting ubergrid with buffered set to true, changing the rowHeight breaks the table. If you set it back to false, everything works fine.

Code: Select all

Ext.define('MyApp.view.SimpleUberGrid', {
    extend: 'Ext.Panel',

    config: {
        layout: {
            type: 'fit'
        },
        items: [
            {
                xtype: 'ubergrid',
                columns: [
                    {
                        header: 'Name',
                        field: 'name',
                        width: 350,
                        //locked: true//sortable:true
                    },
                    {
                        header: 'Field2'
                        field: 'Field2',
                        width: 100
                    }
                ],
                rowHeight: '80',
                buffered: true
            }
        ]
    }

});

User avatar
osolano
Posts: 27
Joined: Sat Jun 15, 2013 2:44 pm

Re: rowHeight breaks table when buffered set to true

Post by osolano » Fri Jul 12, 2013 12:41 am

Actually, the table is broken even when the buffered is set to false. If I change rowHeight at all, the list looks like there is no end.

User avatar
nickolay
Core Developer
Core Developer
Posts: 3405
Joined: Mon May 16, 2011 10:48 am

Re: rowHeight breaks table when buffered set to true

Post by nickolay » Fri Jul 12, 2013 6:53 am

We'll investigate shortly, thanks for the report!
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
nickolay
Core Developer
Core Developer
Posts: 3405
Joined: Mon May 16, 2011 10:48 am

Re: rowHeight breaks table when buffered set to true

Post by nickolay » Wed Jul 17, 2013 12:13 pm

Can you provide more details about this issue? It works fine for me (/tests/080_api/010_set_row_height.t.js).
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
osolano
Posts: 27
Joined: Sat Jun 15, 2013 2:44 pm

Re: rowHeight breaks table when buffered set to true

Post by osolano » Wed Jul 17, 2013 3:04 pm

Whenever I set the rowHeight the height of the row does change, but the table list becomes infinite. The last row item of the list isn't the last, and a lot of blank space follows after the last item.

User avatar
nickolay
Core Developer
Core Developer
Posts: 3405
Joined: Mon May 16, 2011 10:48 am

Re: rowHeight breaks table when buffered set to true

Post by nickolay » Wed Jul 17, 2013 6:50 pm

Hm.. any chance you can create a test case?
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
nickolay
Core Developer
Core Developer
Posts: 3405
Joined: Mon May 16, 2011 10:48 am

Re: rowHeight breaks table when buffered set to true

Post by nickolay » Thu Jul 18, 2013 9:48 am

You can modify one of the examples.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

Post Reply