Sunday, June 26, 2011

ADF 11g R2 Improvement - ADF Table AutoHeightRows Property

There are lots of new features in ADF 11g R2, one of them improved handling for ADF Table AutoHeightRows property. Read my previous blog post, to understand how this property was supported in ADF 11g R1 - ADF Table AutoHeightRows Property. In ADF 11g R1 it was working only with ContentDelivery set to immediate for table component (otherwise dynamic height resizing was not happening). Good news - it works now with all ContentDelivery modes.

Download sample application migrated to ADF 11g R2 - ADFTableAutoHeightR2.zip.

ContentDelivery property is set to default - whenAvailable:


AutoHeightRows is set to be 25, dynamic height resizing happens for less than 25 rows in result set:


Maximum 25 rows are shown, when result set size exceeds AutoHeightRows value:


7 comments:

Pankaj Gupta said...

Hi Andrejus,

Sorry for the misplaced comment. I am actually new to ADF and webcenter. I have to implement menus for my portal application which are very similar to oracle website(http://www.oracle.com/us/index.html). Can you please suggest if it is possible using Webcenter or ADF? How can we do it.

thanks
Pankaj

Andrej Baranovskij said...

Yes, its completely possible, you are free to use any approach for menu UI rendering with WebCenter.

Andrejus

Dinesh said...

Hi Andrejus,

I would like to know whether the below scenario is possible in ADF.

I'm using Jdev 11.1.1.4.

I need a table where I can select a row(using check box) and I'll click on a link which then should show a form below the row that I have selected. The remaining rows should move below the form.

Please suggest some solution.

Thanks,
Dinesh

Andrej Baranovskij said...

Hi Dinesh,

Yes - this is possible. I actually already was planning to post similar sample app to your use case.

It would be great also, if you could post this request on our public Wiki (discussions section). So, it will be easier for me to track and respond - http://redsamoracle.wikispaces.com/

Thanks,
Andrejus

Unknown said...

Hi Andrejus,

Useful post for beginners.

Currently in my application we are using a table with the default rangesize of 25. We need to make it auto so that whatever data is fetched that needs to be displayed in a table without fetching in batches.

Because if i give it as 25 as range size of table inside panel collection. When we detach the table it is refreshing and keep on saying fetching data.

Can you please let me know the solution?

It will be so useful for the beginners like us.

Regards,
Rose

Andrej Baranovskij said...

It should work well when detached, i think there is some bug in your code - data is not retrieved correctly.

Andrejus

Unknown said...

Hi Andrejus,

I am using autoHeightRows property for a table. However even when i set the height to 4, i can see a portion of 5th row coming on the page. When i click on scrollbar i can see the 5th row data overlapping on the table border(i.e the scroll bar height ). this issue occurs only on chrome though, works fine on firefox and explorer.

Thanks,
Abhishek