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
sfg1sfg1 

Rows and Columns View in pageblock table

ProductTable (Custom object)

Prod no        - 1000
Prod name    - 1001
startdate    - 01/02/2018
end date        - 25/06/2018
TotalAmount     - 50000

Forecast table (Custom Object)

Forcastno     prodno      Date            Amount

2001        1000        01/02/2018    10000
2002        1000        01/03/2018    10000
2003        1000        01/04/2018    10000
2004        1000        01/05/2018      10000
2005        1000        01/06/2018      10000

Visualforce view (Rows and Columns View in pageblock table & also need inline edit and save option) 

Prodno Prodname Jan18 Feb18 Mar18 Apr18 May18 Jun18 Jul18 Aug18 sep18 Oct18 Nov18 Dec18
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi,

May I suggest you please refer the below link for reference. hope it helps.

Please mark it as best answer if the information is informative.

Thanks
Rahul Kumar