Tuesday, November 8, 2011

How to Stretch an ADF Table to occupy maximum width

ADF Table can be stretched to occupy the maximum width available in the window by using a PanelStretchLayout Component and AFStretchWidth Style Class in conjuction. The Table must be embedded inside the center facet of a PanelStretchLayout component and the Style Class of both the Table and Layout component must be set to AFStretchWidth.

Sample Code:

Sample Demo: