In the above image, the table contains just two rows, but it's taking more space than required. To avoid that, we need to set table's ContentDelivery="immediate" and AutoHeightRows="<some_fixed_number>". See code below:
<af:table value="#{bindings.EmpDeptVO.collectionModel}" var="row" rows="#{bindings.EmpDeptVO.rangeSize}" emptyText="#{bindings.EmpDeptVO.viewable ? 'No data to display.' : 'Access Denied.'}" fetchSize="#{bindings.EmpDeptVO.rangeSize}" rowBandingInterval="0" selectedRowKeys="#{bindings.EmpDeptVO.collectionModel.selectedRow}" selectionListener="#{bindings.EmpDeptVO.collectionModel.makeCurrent}" rowSelection="single" id="t1" partialTriggers=":::qryId1 ::ctb1" columnStretching="column:c1" styleClass="AFStretchWidth" columnSelection="multiple" first="0" contentDelivery="immediate" autoHeightRows="10">
From the above code, we can see that ContentDelivery="immediate" and AutoHeightRows="10". If we set this, if the no. of rows in the table are above 10, it'll just show first 10 rows. We need to scroll down to see the next rows. And, if the no. of rows in the table are below 10, the table just shows only that many no. of rows without any extra space (see image below).
20170303shizhong
ReplyDeletemichael kors outlet
jordan pas cher
ghd straighteners
jimmy choo
oakley sunglasses
nike air max outlet
coach outlet
michael kors handbags
kd 9 shoes
polo ralph lauren
coach factory outlet online
ReplyDeletecoach outlet store
michael kors outlet store
air max 90
coach outlet online
mulberry outlet uk
coach factory outlet online
pandora charms
oakley sunglasses on sale
ray ban sunglasses discount
170511yueqin
ferragamo belt
ReplyDeletenike shoes
lebron 16
jordan 13
ultra boost 3.0
yeezy 500
air max 90
fila disruptor 2
nike air max
lacoste online shop
yeezy 700
ReplyDeletejordan shoes
yeezy
lebron 17
kd shoes
off white hoodie
bape
jordan shoes
lebron 16
golden goose sale