Skip to content

Commit b22cc3b

Browse files
committed
add formatter
1 parent afd10a5 commit b22cc3b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

visual/basicGrid.test.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ const columns: readonly Column<Row, Row>[] = [
1212
SelectColumn,
1313
{
1414
key: 'name',
15-
name: 'Name'
15+
name: 'Name',
16+
renderSummaryCell(props) {
17+
return props.row.name;
18+
}
1619
}
1720
];
1821

0 commit comments

Comments
 (0)