ultrawebgrid中创建子表的display设置_.NET_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > .NET > ultrawebgrid中创建子表的display设置

ultrawebgrid中创建子表的display设置

 2010/9/19 23:40:05  Yarhhome  http://yarhhome.javaeye.com  我要评论(0)
使用一下代码来代替原来的displaylayout
<DisplayLayout AutoGenerateColumns="False" RowHeightDefault="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>
                                    <FilterOperandDropDownStyle 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>
发表评论
用户名: 匿名