Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
nmichaud committed Apr 24, 2020
1 parent 812b4ed commit 9f5d959
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/example-datagrid/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,14 @@ function main(): void {
selectionMode: 'column'
});

let grid3 = new DataGrid({ stretchLastColumn: true });
let grid3 = new DataGrid({ stretchLastColumn: true,
minimumSizes: {
rowHeight: 25,
columnWidth: 70,
rowHeaderWidth: 70,
columnHeaderHeight: 25
}
});
grid3.cellRenderers.update({ 'body': fgColorFloatRenderer });
grid3.dataModel = model3;
grid3.keyHandler = new BasicKeyHandler();
Expand Down

0 comments on commit 9f5d959

Please sign in to comment.