This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSF and the fly likes panelGrid/dataTable with Absolute Positioning Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "panelGrid/dataTable with Absolute Positioning" Watch "panelGrid/dataTable with Absolute Positioning" New topic
Author

panelGrid/dataTable with Absolute Positioning

Ganesh Podaralla
Greenhorn

Joined: Feb 22, 2010
Posts: 23
Hello Ranchers,

I am trying to implement the below requirement using JSF and RichFaces. I have a table of data with 4 columns and 10 rows to be displayed using absolute positioning. The width of each column varies (column1 - 9px, column2 - 72px, column3 - 36px, column4 - 72px). Also, I have a predefined distance between the rows (20px) to be maintained. Is there anyway I can achieve this through JSF. I am exploring the options in panelGrid/dataTable. Please let me know if you have any idea.

Thanks in advance,
Ganesh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14572
    
    7

When it comes to size, location, color, fonts, and so forth, JSF doesn't get involved. That's what CSS is for.

The panelGrid and dataTable tags have a number of CSS style attributes that can be used, including rowClasses, columnClasses, and the master "style" and "styleClass" attributes.

Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: panelGrid/dataTable with Absolute Positioning
 
Similar Threads
Datatable configuration
Rendering of rich:extendedDataTable in Internet Explorer 7
Using expand/collapse with dataTable JSF Components
Handling list of newly added rows on client side
dataTable + panelGrid => dataPanelGrid?