使用一下代码来代替原来的displaylayout
<DisplayLayout AutoGenerateColumns="False" RowHeight
Default="20px" Version="4.00"
SelectTypeRowDefault="NotSet" ViewType="OutlookGroupBy" AllowColumnMovingDefault="OnServer"
HeaderClickActionDefault="SortMulti" BorderCollapseDefault="Separate" AllowColSizingDefault="Free"
Name="UWGDelivery" TableLayout="Fixed" ColWidthDefault="82px" CellClickActionDefault="Edit" AllowDeleteDefault="Yes" AllowUpdateDefault="Yes" StationaryMargins="Header" AllowAddNewDefault="Yes" >
<AddNewBox>
<BoxStyle CssClass="addboxStyle">
</BoxStyle>
</AddNewBox>
<GroupByBox Hidden="True">
<BoxStyle CssClass="groupbyboxStyle">
</BoxStyle>
</GroupByBox>
<Pager PageSize="20" PagerAppearance="Top" Alignment="Center">
<PagerStyle BackColor="LightGray" CssClass="pagerStyle"></PagerStyle>
</Pager>
<FooterStyleDefault CssClass="footerStyelDft">
</FooterStyleDefault>
<FilterOptionsDefault>
<Filter
OperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"
BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"
Font-Size="11px">
<Padding Left="2px" />
</FilterOperandDropDownStyle>
<FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">
</FilterHighlightRowStyle>
<FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"
CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"
Font-Size="11px" Height="300px" Width="200px">
<Padding Left="2px" />
</FilterDropDownStyle>
</FilterOptionsDefault>
<HeaderStyleDefault BackColor="LightGray" CssClass="
headerStyleDft" Height="50px"
Wrap="True" CustomRules="font-weight:normal;">
</HeaderStyleDefault>
<EditCellStyleDefault CssClass="editcolumnStyle" BackColor="White" HorizontalAlign="Center">
</EditCellStyleDefault>
<FrameStyle CssClass="framStyle" Width="100%">
</FrameStyle>
<RowAlternateStyleDefault CssClass="rowAlternateStyleDft">
</RowAlternateStyleDefault>
<RowStyleDefault BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px">
<BorderDetails ColorTop="Window" ColorLeft="Window"></BorderDetails>
</RowStyleDefault>
<GroupByRowStyleDefault BorderColor="Window" BackColor="Control">
</GroupByRowStyleDefault>
<Images ImageDirectory="/ig_common/Images/">
</Images>
<ActivationObject BorderColor="" BorderWidth="">
</ActivationObject>
</DisplayLayout>