function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tiwari_ShwetaTiwari_Shweta 

How to Interchange Table Headers with values.

Hi,

 

I have created a data table in follwing format :

 

 

TypeQuote No.Amount
aq11
bq22
cq33
   

where the values are coming from the query. 

Now I want to change the Table as :

 

 

 abc
q114 
q2 2 
q3  3

 

Where a,b,c are headers.

Is this possible in visualforce ????

bob_buzzardbob_buzzard

It is possible, but you will need to do the transition work yourself.

 

You'll need to convert the results of your query into a wrapper object that backs the table and probably use regular html tables. 

 

Search for wrapper object on the discussion boards - there have been plenty of threads on this in the past. 

Message Edited by bob_buzzard on 01-19-2010 04:27 AM