Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

merged cell (colspan) with panelGrid  RSS feed

 
James Ellis
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a panelGrid with two columns. I know you can print a header and footer that effectively merges two columns and prints out a <td> tag with colspan="2" - but how can I accomplish this in the middle of a panelGrid (between two rows of data)? I want the outcome to look like this

COLUMN 1 COLUMN 2
HEADER INSTRUCTIONS TO FILL IN NAME
First Name <textbox where they enter first name>
Last Name <textbox where they enter last name>
INSTRUCTIONS TO FILL IN ADDRESS
Street Address <textbox where they enter street>
City <textbox where they enter city>


It's the "INSTRUCTIONS TO FILL IN ADDRESS" that I need to figure out how to put in the panelGrid. Any ideas?
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add multiple panel grid's inside your panelgroup.

first grid with columns="2" will hold , column1 and column2
second grid with columns="1" for the label, you can set the width of the column using stylesheet width:100px
3rd grid for textbox , etc etc



Thanks,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!