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
sridhar k 9sridhar k 9 

On Case record users should be able to put a case comment. Case is a standard object and Case Comment should be a custom object. Case detail page should be a VF Page and should display Case Comments Related List in an Expand/Collapase manner

On Case record users should be able to put a case comment. Case is a standard object and Case Comment should be a custom object. Case detail page should be a VF Page and should display Case Comments Related List in an Expand/Collapase manner 

When the user clicks on the ( + ) button / image at the top of the section all comments should expand as in image # 2 above and the ( + ) image button should change in ( - ) image.
When the user clicks on the ( - ) button / image at the top of the section all comments should collapse back as in image # 1 above and the ( - ) image should change in ( + ) image.
When the user clicks on the individual comment’s ( + ) / ( - ) images, only that particular comment should expand / collapse. 
 
William TranWilliam Tran
Sridhar

You can do everything you want above - 

Case Comment should be a custom object - just create one.  (but you might want to consider using the OOTB case comments also)

Case detail page should be a VF Page and should display Case Comments Related List in an Expand/Collapase manner

Yes, you can create it .

When the user clicks on the ( + ) button / image at the top of the section all comments should expand as in image # 2 above and the ( + ) image button should change in ( - ) image.
When the user clicks on the ( - ) button / image at the top of the section all comments should collapse back as in image # 1 above and the ( - ) image should change in ( + ) image.
When the user clicks on the individual comment’s ( + ) / ( - ) images, only that particular comment should expand / collapse. 

Yes, you can create it

You may want to consider using apex:detail tag to show related list.

<apex:detail subject="{!account.Id}" relatedList="true" />  

thx
sridhar k 9sridhar k 9
Thank you william.

I was developeing the page, but i stucked on display comments for each related reply comment.