‘RangeSize’property in ADF

If you want to get all the rows and show in a table or Iterator you need to set the property ‘RangeSize = -1‘ for the VO Iterator in the binding section and also you have to set the value of ‘rows’ property for the Table or Iterator being used to EL expression which points to ‘rangesize‘ of Iterator.

Eg:

 rows="#{bindings.EmployeesView1.rangeSize}"

By default the VO Iterator rows property will be set to 25 that means the rows from DB are fetched in a batches of 25. When you scroll down the table for every 25 rows you can see some delay and also a message showing like fetching rows. It is good to fetch and display only the rows how many are needed to show instead of fetching all the rows at once. If the table row count is small then you can set RangeSize = -1.

3

 

2

1

 

 

 

 

 

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s