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
Pranav_VaidyaPranav_Vaidya 

Show HTML using data from component

Hi,

 

I have a custom object which has below fields-

 

Month

Allotted_Budget_Spend

Forecast_Budget_spend

Actual_Budget_Spend

 

I have created a component which fetches records from this custom object. I would like to create a VF page to display it in HTML table as

 

 

Jan-2012

Feb-2012

Mar-2012

YTD

Toal

Allotted_Budget_Spend

 

 

 

 

 

Forecast_Budget_spend

 

 

 

 

 

Actual_Budget_Spend

 

 

 

 

 

 

Could someone please help. If you think I can achieve this other than a VF page please suggest.

 

Thanks in advance.

Regards,

Pranav

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

Have you created a VF component to fetch this information?  Can you supply a bit more detail about how the data is made available?  It sounds like a case for wrapper classes to me.

All Answers

bob_buzzardbob_buzzard

Have you created a VF component to fetch this information?  Can you supply a bit more detail about how the data is made available?  It sounds like a case for wrapper classes to me.

This was selected as the best answer
Pranav_VaidyaPranav_Vaidya

I added a wrapper class for my VF page which returns a LIST bound to one of my custom objects. The only challenge was to plot the LIST elements in the desired table. <apex:repeat> solved that problem.

 

Thanks.