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
Nageswara  reddyNageswara reddy 

what is exactly meaning rendered and rerendered attribute

HI All

 could  please anyone what is exactly meaning  rendered and rerendered attribute  , where this attribute  useful .

sfdcfoxsfdcfox

When "rendered" is true, the element will be displayed on the screen. When "rendered" is false, the element will not be displayed on the screen or be placed into the output buffer. This is useful when you want to display an element only during certain situations, such as displaying an error message, or rendering certain columns in a table depending on if any values are present.

 

The "rerender" attribute specifies a list of elements that should be dynamically updated using Visualforce's AJAX library. When a "rerender" attribute is specified, the entire page will no longer refresh, but only a portion of the page identified by the elements named in the "rerender" attribute. This may be desirable, as the entire page will no longer turn white as the page is reloading (noticable on slower connections), but will instead be updated client-side. For slower connections, it is recommended that you use the "status" attribute in addition to the "rerender" attribute so that the user will see a notification that their request is being handled.

SalesforcedevSalesforcedev
It's very clear and useful the explanation.
Thank you so much