Hybrid View
-
14 Nov 2012 6:33 AM #1
Unanswered: set emptyrow true
Unanswered: set emptyrow true
My asked
the grid has a height of 300 pixels
my data from the db fill only half of the grid.
Now I want the rest of the amount is made up of the grid
with empty lines like that?
-
16 Nov 2012 9:53 AM #2
-
17 Nov 2012 6:02 AM #3Sencha - Sales Team
- Join Date
- Mar 2007
- Location
- Melbourne, Australia (aka GMT+10)
- Posts
- 753
- Vote Rating
- 6
- Answers
- 10
set layout to 'fit' for the parent container of the grid view.
Sencha Technical Sales & Senior Technical Trainer
Sencha Inc
Register with discount code "ASA357" and save $100

The new SenchaWorld.com is coming in July, more details closer to SenchaCon
Code Validation : JSLint | JSONLint | JSONPLint
-
23 Nov 2012 3:24 AM #4
-
23 Nov 2012 3:59 AM #5
for the container of the grid, use the following:
and then use flex:1 config for the grid. this will stretch the grid to the remaining space in the container panel.Code:layout: { type: 'vbox', align: 'stretch' // allows stretching the grid (with flex:1) to occupy the whole height of this container }
-
23 Nov 2012 5:28 AM #6
hi Farish,
thanks for you answer.
my problem is i have two controls of one container.
better is I use two container in the window?
sorry for my english....


Reply With Quote



