load( with( local!datasubset: rule!getAllTestEmployees( pagingInfo: a!pagingInfo( startIndex: 1, batchSize: -1 ) ), a!dashboardLayout( firstColumnContents: { a!gridLayout( label: "Edit Employees", headerCells: { a!gridLayoutHeaderCell(label: "ID"), a!gridLayoutHeaderCell(label: "First Name"), a!gridLayoutHeaderCell(label: "Last Name"), a!gridLayoutHeaderCell(label: "Department"), a!gridLayoutHeaderCell(label: "Title"), a!gridLayoutHeaderCell(label: "Phone Number"), a!gridLayoutHeaderCell(label: "Start Date") }, columnConfigs: { a!gridLayoutColumnConfig(width: "NARROW") }, rows: a!applyComponents( function: rule!RowPrototype, array: merge(_, if( or( isnull(local!datasubset.data), length(local!datasubset.data) < 1 ), {}, local!datasubset.data ) ) ) ) } ) ) )