@@ -13,14 +13,17 @@ this.default = (): void => {
1313 allowResizing : true ,
1414 height : 400 ,
1515 columns : [
16- { field : 'OrderID' , headerText : 'Order ID' , minWidth : 120 , width : 200 , maxWidth : 300 , textAlign : 'right' } ,
17- { field : 'CustomerName' , headerText : 'Customer Name' , width : 200 } ,
18- { field : 'OrderDate' , headerText : 'Order Date' , width : 200 , format : 'yMd' , textAlign : 'right' } ,
19- { field : 'Freight' , width : 150 , format : 'C2' , textAlign : 'right' } ,
20- { field : 'ShipName' , headerText : 'Ship Name' , width : 300 } ,
21- { field : 'ShippedDate' , headerText : 'Shipped Date' , width : 200 , format : 'yMd' , textAlign : 'right' , allowResizing : false } ,
22- { field : 'ShipCountry' , headerText : 'Ship Country' , width : 200 } ,
23- { field : 'ShipCity' , headerText : 'Ship City' , width : 200 }
16+ { field : 'OrderID' , headerText : 'Order ID' , minWidth : 10 , width : 200 , maxWidth : 300 , textAlign : 'right' } ,
17+ { field : 'CustomerName' , headerText : 'Customer Name' , minWidth : 10 , width : 200 } ,
18+ { field : 'OrderDate' , headerText : 'Order Date' , width : 200 , minWidth : 10 , format : 'yMd' , textAlign : 'right' } ,
19+ { field : 'Freight' , width : 150 , format : 'C2' , minWidth : 10 , textAlign : 'right' } ,
20+ { field : 'ShipName' , headerText : 'Ship Name' , minWidth : 10 , width : 300 } ,
21+ {
22+ field : 'ShippedDate' , headerText : 'Shipped Date' , minWidth : 10 ,
23+ width : 200 , format : 'yMd' , textAlign : 'right' , allowResizing : false
24+ } ,
25+ { field : 'ShipCountry' , headerText : 'Ship Country' , minWidth : 10 , width : 200 } ,
26+ { field : 'ShipCity' , headerText : 'Ship City' , minWidth : 10 , width : 200 }
2427 ]
2528 } ) ;
2629 grid . appendTo ( '#Grid' ) ;
0 commit comments