Skip to content

Commit 9620bc0

Browse files
author
pipeline
committed
bug(EJ2-5527): Column menu sample - autofit issue fixed.
1 parent 647cd85 commit 9620bc0

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed
Binary file not shown.
Binary file not shown.
-3 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.

samples/grid/columnmenu/app/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export class ColumnMenuSample extends SampleBase<{}, {}> {
1616
<GridComponent id='gridcomp' dataSource={data.splice(0, 60)} allowPaging={true} allowGrouping={true} allowSorting={true} allowFiltering={true} showColumnMenu={true} groupSettings={this.groupOptions} filterSettings={this.filterSettings} >
1717
<ColumnsDirective>
1818
<ColumnDirective field='OrderID' headerText='Order ID' width='200' textAlign='right' showInColumnChooser={false}></ColumnDirective>
19-
<ColumnDirective field='CustomerName' headerText='Customer Name' width='200' ></ColumnDirective>
20-
<ColumnDirective field='ShippedDate' headerText='Shipped Date' width='200' format='yMd' textAlign='right' />
19+
<ColumnDirective field='CustomerName' headerText='Customer Name'></ColumnDirective>
20+
<ColumnDirective field='ShippedDate' headerText='Shipped Date' format='yMd' textAlign='right' />
2121
<ColumnDirective field='Freight' headerText='Freight' width='150' format='C2' textAlign='right' />
2222
<ColumnDirective field='ShipName' headerText='Ship Name' visible={false} width='200'></ColumnDirective>
2323
<ColumnDirective field='ShipCountry' headerText='Ship Country' width='200'></ColumnDirective>

samples/grid/contextmenu/app/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export class ContextMenuSample extends SampleBase<{}, {}> {
2222
editSettings={this.editing}>
2323
<ColumnsDirective>
2424
<ColumnDirective field='OrderID' headerText='Order ID' width='200' textAlign='right' isPrimaryKey={true}></ColumnDirective>
25-
<ColumnDirective field='CustomerName' headerText='Customer Name' width='200' ></ColumnDirective>
26-
<ColumnDirective field='ShippedDate' headerText='Shipped Date' width='200' format='yMd' textAlign='right' />
25+
<ColumnDirective field='CustomerName' headerText='Customer Name'></ColumnDirective>
26+
<ColumnDirective field='ShippedDate' headerText='Shipped Date' format='yMd' textAlign='right' />
2727
<ColumnDirective field='Freight' headerText='Freight' width='150' format='C2' textAlign='right' />
2828
<ColumnDirective field='ShipName' headerText='Ship Name' width='200'></ColumnDirective>
2929
<ColumnDirective field='ShipCountry' headerText='Ship Country' width='200'></ColumnDirective>

src/grid/columnmenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export class ColumnMenuSample extends SampleBase<{}, {}> {
1616
<GridComponent id='gridcomp' dataSource={data.splice(0, 60)} allowPaging={true} allowGrouping={true} allowSorting={true} allowFiltering={true} showColumnMenu={true} groupSettings={this.groupOptions} filterSettings={this.filterSettings} >
1717
<ColumnsDirective>
1818
<ColumnDirective field='OrderID' headerText='Order ID' width='200' textAlign='right' showInColumnChooser={false}></ColumnDirective>
19-
<ColumnDirective field='CustomerName' headerText='Customer Name' width='200' ></ColumnDirective>
20-
<ColumnDirective field='ShippedDate' headerText='Shipped Date' width='200' format='yMd' textAlign='right' />
19+
<ColumnDirective field='CustomerName' headerText='Customer Name'></ColumnDirective>
20+
<ColumnDirective field='ShippedDate' headerText='Shipped Date' format='yMd' textAlign='right' />
2121
<ColumnDirective field='Freight' headerText='Freight' width='150' format='C2' textAlign='right' />
2222
<ColumnDirective field='ShipName' headerText='Ship Name' visible={false} width='200'></ColumnDirective>
2323
<ColumnDirective field='ShipCountry' headerText='Ship Country' width='200'></ColumnDirective>

src/grid/contextmenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export class ContextMenuSample extends SampleBase<{}, {}> {
2222
editSettings={this.editing}>
2323
<ColumnsDirective>
2424
<ColumnDirective field='OrderID' headerText='Order ID' width='200' textAlign='right' isPrimaryKey={true}></ColumnDirective>
25-
<ColumnDirective field='CustomerName' headerText='Customer Name' width='200' ></ColumnDirective>
26-
<ColumnDirective field='ShippedDate' headerText='Shipped Date' width='200' format='yMd' textAlign='right' />
25+
<ColumnDirective field='CustomerName' headerText='Customer Name'></ColumnDirective>
26+
<ColumnDirective field='ShippedDate' headerText='Shipped Date' format='yMd' textAlign='right' />
2727
<ColumnDirective field='Freight' headerText='Freight' width='150' format='C2' textAlign='right' />
2828
<ColumnDirective field='ShipName' headerText='Ship Name' width='200'></ColumnDirective>
2929
<ColumnDirective field='ShipCountry' headerText='Ship Country' width='200'></ColumnDirective>

0 commit comments

Comments
 (0)