1) Repeating Panel vs. 2) Data Row Panel: how to choose

In addition to @joinlook

When adding data to a DataGrid, I usually use Repeating Panels and Data Row Panels.

The way I think of it in general is:

  • Use the Repeating Panel for rows where UI elements are repeated.
  • Use Data Row Panel for more complex designs (e.g., pinned rows, additional/nested headers)

You may even add Data Row Panels inside of a Repeating Panel (as in the CRUD tutorial). Data Row Panels are “column aware” and this makes it easy to drop components into their respective columns.

Here is a nice schematic from Shaun’s tutorial. I think this represents a common design (other than the deeply nested Repeating Panel which is maybe a bit more uncommon). That is, a Data Grid with fixed and repeating elements.

4 Likes