Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to manage the Expand All as showRecordComponents

    Hi

    Isomorphic, on one thread your answer on "how to make expand all functionality" was that only way is using showRecordComponents and the RecordComponents stuff.

    But I still do not know how to manage it. What exactly I suppose to do ?

    Can you give an example code please ?

    #2
    recordComponents allow you to embed a SmartClient component into multiple rows in the grid either by row or by cell.
    This means you can have your own "expanded row" type functionality -- showing related records in a separate ListGrid, etc -- for every record in a grid.

    You can see an example of using record components in the showcase here. This example has setShowRecordComponentsByCell set to true, causing the components to show up within specific cells in the grid rather than for the row as a whole. In your usage you'd probably have this flag set to false instead.

    There's an overview description of how recordComponents are used here, which describes the method required for creating custom record components, and how to use pooling to reuse existing components across different viewports within a large grid rather than creating new components for every record in the grid.

    Let us know if you have specific questions

    Thanks
    Isomorphic Software

    Comment

    Working...
    X