You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new Grid({
appendTo : 'container',
// makes grid as high as it needs to be to fit rows
autoHeight : true,
features : {
// enabled region resize
regionResize : true
},
data : DataGenerator.generateData(5),
columns : [
{ field : 'firstName', text : 'First name', width : 150, region : 'left' },
{ field : 'surName', text : 'Surname', width : 150, region : 'right' },
{ field : 'city', text : 'City', flex : 1, region : 'right' },
{ field : 'team', text : 'Team', flex : 1, region : 'right' },
{ field : 'score', text : 'Score', flex : 1, region : 'right' },
{ field : 'rank', text : 'Rank', flex : 1, region : 'right' }
]
});
You'll have the following grid displayed.
follow these steps...
Drag the region splitter to the right (which is a bit difficult as the splitter doesn't quite follow the mouse drag) so that some of the columns cannot be seen (a scrollbar appears as expected).
Collapse the region to the right by clicking the > arrow on the splitter, so the entire right-side region disappears.
Expand the region again by clicking the < arrow on the splitter
Drag the splitter to the left to see more of the right-hand region.
The text was updated successfully, but these errors were encountered:
Forum post
Using the following example
You'll have the following grid displayed.
follow these steps...
The text was updated successfully, but these errors were encountered: