ADF Table: width, stretching, column width and similar issues
Friends,
Prior to posting this, I tried to search the documentation (even bought a Frank's book: Oracle Fusion Developer Guide) but am having no luck.
I am trying to achieve the following:
1. Table that stretches its width but up until the browser width size
2. If the table contains so many columns and/or browser is resized such that table cannot fit, the horizontal scroll bar should appear in whatever container table is layed into
3. Table columns are of such width so that just the header or its data can fit. Just like in Microsoft excel, when you double click on the cell border it alligns its width to the content. In other words, I DO NOT want the column that contains always four digits (ie year of birth) to have those four digits and then tens of blank spaces. It would be waste
4. My table must have detailStamp facet where I need to put not frequently needed query results
What I tried?
1. I am using panelStretchLayout and placed the table in its 'center' facet. It is really bad that documentation says that table placed in this container will stretch. Actually it will NOT automatically. The only way it will stretch is if styleClass of panelStretchLayout is set to 'AFStretchWidth'
2. When I did set the styleClass of panelStretchLayout to 'AFStretchWidth', the table stretches to some imaginary width waaay BEYOND the browser width and automatically places horizontal scrollbar. How to enforce the table width to allign with the browser width
3. Column widths are such that it wastes a lot of space, many blank spaces after the data. How to control the cell/column width?
Any help is appreciated
Edited by: rade.todorovich on Jul 14, 2010 10:24 AM