• Miththana Manikanta
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

As apex:pageblock is not supported in SLDS it's suggested to use slds-panel and slds-panel_section to replace page block and pageblocksection respectively. In my existing code I use rendered property of pageblock section extensively. Is it possible to apply same conditions to a div that replaces the pageblocksection? for example:
<apex:pageBlock title="Account & Opportunity Information" rendered="{!myCondition}">
Can this be replaced with
<div class="slds-panel slds-grid slds-grid--vertical slds-nowrap slds-form--compound" aria-labelledby="newaccountform"
rendered="{!myCondition}">

OR
 
<apex:pageBlockSection title="AccountInformation" collapsible="false" columns="2" rendered="{!myCondition == null}">
with
<div class="slds-panel__section"  rendered="{!myCondition == null}">



<div class="slds-panel__section"  rendered="{!myCondition == null}">