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
SFDC_BeginnersSFDC_Beginners 

Importance of mode attribute of PageBlock component

Hi All,

 

What's the importance of the Attribute mode of the pageBlock component

BuntyBunty

basically mode is realted with the UI part of the page only. 

Navatar_DbSupNavatar_DbSup

Hi,

 

Mode attribute of the page block

 

The default user mode for the pageBlock component's child elements. This value determines whether lines are drawn separating field values. Possible values are: "detail", in which data is displayed to the user with colored lines; "maindetail", in which data is displayed to the user with colored lines and a white background, just like the main detail page for records; and "edit", in which data is displayed to the user without field lines. If not specified, this value defaults to "detail". These lines have nothing to do with requiredness, they are merely visual separators, that make it easier to scan a detail page.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.