Skip to content

Commit 263e09d

Browse files
authored
Merge pull request #309 from handsontable/fix/DEV-2794-javascript-starter-grid-size-p17
fix(examples): let the JavaScript and example1 starter grids fill their containers (DEV-2794) [17]
2 parents 47aa505 + c29a11e commit 263e09d

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎examples/example1/index.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ new Handsontable(container, {
374374
"Operational Status",
375375
],
376376
rowHeaders: true,
377-
height: 340,
378-
width: 800,
377+
height: 450,
379378
autoWrapRow: true,
380379
autoWrapCol: true,
381380
dropdownMenu: true,

‎examples/javascript/index.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ new Handsontable(example, {
6161
theme: { ...mainTheme, colorScheme: 'light' },
6262
layoutDirection: isArabicDemoEnabled() ? 'rtl' : 'ltr',
6363
language: isArabicDemoEnabled() ? arAR.languageCode : 'en-US',
64-
height: 248,
65-
width: 587,
64+
height: 450,
6665
comments: true,
67-
colWidths: 150,
66+
colWidths: [170, 222, 130, 120, 120, 130, 156],
6867
colHeaders: [
6968
'Company name',
7069
'Name',

0 commit comments

Comments
 (0)