FineUI 官方论坛
标题:
表格嵌套时 表头与内容错位??
[打印本页]
作者:
Xiaonn
时间:
2013-3-15 09:04
标题:
表格嵌套时 表头与内容错位??
使用表格嵌套时,表头与内容错位?? 如何解决啊?
[attach]1862[/attach]
代码如下:
<Items>
<x:Grid ID="Grid1" ShowBorder="false" AutoScroll="true" ShowHeader="false" runat="server" PageSize="30" AllowPaging="false"
DataKeyNames="pono" EnableRowNumber="True" EnableCheckBoxSelect="True">
<Columns>
<x:BoundField DataField="PONO" HeaderText="PO No." Width="1200px" />
<x:TemplateField RenderAsRowExpander="true">
<ItemTemplate>
<div class="expander">
<x:Grid ID="Grid2" ShowBorder="false" ShowHeader="false" runat="server" AllowPaging="false" EnableRowNumber="True" >
<Columns>
<x:BoundField Width="70px" DataField="PRNO" HeaderText="PR No." TextAlign="Center" />
<x:BoundField Width="80px" DataField="Creator" HeaderText="Applicant" TextAlign="Center" />
<x:BoundField Width="70px" DataField="UseDept" HeaderText="Use Dept" TextAlign="Center"/>
<x:BoundField Width="70px" DataField="Plant" HeaderText="Plant" TextAlign="Center" />
<x:BoundField Width="40px" DataField="item" HeaderText="Item" TextAlign="Center"/>
<x:BoundField Width="70px" DataField="Itemno" HeaderText="Item No" TextAlign="Center"/>
<x:BoundField Width="120px" DataField="Description" HeaderText="Description" TextAlign="Center"/>
<x:BoundField Width="80px" DataField="Model" HeaderText="Model" TextAlign="Center"/>
<x:BoundField Width="80px" DataField="DeliveryDate" DataFormatString="{0:yyyy-MM-dd}" HeaderText="Req. Date" TextAlign="Center"/>
<x:BoundField Width="50px" DataField="Qty" HeaderText="Qty" TextAlign="Center"/>
<x:BoundField Width="50px" DataField="Unit" HeaderText="Unit" TextAlign="Center"/>
<x:BoundField Width="70px" DataField="Actualprice" HeaderText="Price" TextAlign="Center"/>
<x:BoundField Width="50px" DataField="Currecytype" HeaderText="Currency" TextAlign="Center"/>
<x:BoundField Width="70px" DataField="AccountCode" HeaderText="AccountCode" TextAlign="Center"/>
<x:BoundField Width="70px" DataField="DeptCode" HeaderText="Dept Code" TextAlign="Center"/>
</Columns>
</x:Grid>
</div>
</ItemTemplate>
</x:TemplateField>
</Columns>
</x:Grid>
</Items>
作者:
sanshi
时间:
2013-3-18 05:41
目前ItemTemplate不能放置 FineUI 控件,我会测试的
作者:
Xiaonn
时间:
2013-3-18 05:43
Thanks!!!!
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4