a!dashboardLayout()

Certified Associate Developer

Q1. a!dashboardLayout() is deprecated what layout should I use in place of it..

Q2. what was the role of a!dashboardLayout()

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I ususally just use a!sectionLayout().  In the old days, you couldn't nest one section within another, so you were forced to use something as the parent container for a section - but now you can nest them to basically any (reasonable) depth.  If you don't need a label or any of the other section-specific features, you just don't add them.  This has the slight benefit over just declaring an array of components, as in slight extra control (direct control of visibility, other properties, etc).

Reply
  • 0
    Certified Lead Developer

    I ususally just use a!sectionLayout().  In the old days, you couldn't nest one section within another, so you were forced to use something as the parent container for a section - but now you can nest them to basically any (reasonable) depth.  If you don't need a label or any of the other section-specific features, you just don't add them.  This has the slight benefit over just declaring an array of components, as in slight extra control (direct control of visibility, other properties, etc).

Children