We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37d8528 + 7a7d058 commit c337e9bCopy full SHA for c337e9b
client/src/components/Collections/common/DisplayCollectionAsSheet.vue
@@ -27,9 +27,8 @@ function initializeRowData(rowData: AgRowData[]) {
27
if (collectionDetailed) {
28
for (const element of collectionDetailed.elements) {
29
const row: AgRowData = { __model_object: element };
30
- (collectionDetailed.column_definitions || []).forEach((colDef) => {
31
- // TODO:
32
- row[colDef.name] = "foobar";
+ (collectionDetailed.column_definitions || []).forEach((colDef, colIndex) => {
+ row[colDef.name] = element.columns ? element.columns[colIndex] : null;
33
});
34
rowData.push(row);
35
}
0 commit comments