varunjyoti
7 Dec 2011, 3:07 AM
Hi
I have a grid panel. Its not having scroll bar in it when content gets large. I have tried autoScroll:true, scroll:true,
and verticalScroller: {
xtype: 'paginggridscroller'
},
But none of these has worked.
Ext.define('DG.view.attribute.Grid', {
extend: 'Ext.grid.Panel',
alias: 'widget.attribute_grid',
frame: true,
store: 'Attributes',
isAttibuteTypeReq : false,
width:800,
height:450,
columns: [
{
text : "ID",
width : 30,
dataIndex : 'attributeId',
sortable : true
},
{
text : "Name",
width : 150,
dataIndex : 'attributeName',
sortable : true,
}]
})
I am using EXT JS 4.0.2. I want vertical scroll bar when the grid content overflows.
Thanks. Please help
I have a grid panel. Its not having scroll bar in it when content gets large. I have tried autoScroll:true, scroll:true,
and verticalScroller: {
xtype: 'paginggridscroller'
},
But none of these has worked.
Ext.define('DG.view.attribute.Grid', {
extend: 'Ext.grid.Panel',
alias: 'widget.attribute_grid',
frame: true,
store: 'Attributes',
isAttibuteTypeReq : false,
width:800,
height:450,
columns: [
{
text : "ID",
width : 30,
dataIndex : 'attributeId',
sortable : true
},
{
text : "Name",
width : 150,
dataIndex : 'attributeName',
sortable : true,
}]
})
I am using EXT JS 4.0.2. I want vertical scroll bar when the grid content overflows.
Thanks. Please help