• Post Reply Bookmark Topic Watch Topic
  • New Topic

panelGrid/dataTable with Absolute Positioning  RSS feed

 
Ganesh Podaralla
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 18777
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!