FineUI 官方论坛
标题:
同一个页面中,两个Grid,GridHeader异常 砸破?
[打印本页]
作者:
SwordElf
时间:
2019-5-28 09:06
标题:
同一个页面中,两个Grid,GridHeader异常 砸破?
IE11
[attach]11955[/attach]
同一个页面中,两个Grid,GridHeader异常
砸破?
<f:FormRow runat="server">
<Items>
<f:Grid runat="server" ID="gridMX" Title="明细" ShowHeader="True" ShowGridHeader="True" ShowBorder="True" BoxFlex="1" >
<Columns>
<f:RowNumberField ColumnID="rowNumber" runat="server" Width="20px" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialID" HeaderText="物料编号" DataField="MaterialID" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialName" HeaderText="物料名称" DataField="Material.Name" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialSpecification" HeaderText="规格型号" DataField="Material.Specification" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialUnitName" HeaderText="计量单位" DataField="Material.MaterialUnit.Name" />
<f:BoundField runat="server" Width="70px" ColumnID="MaterialQuantity" HeaderText="数量" DataField="Intqty" />
<f:BoundField runat="server" Width="90px" ColumnID="NeedDate" HeaderText="需求日期" DataField="NeedDate" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialRemark" HeaderText="备注" DataField="Remark" ExpandUnusedSpace="True" />
</Columns>
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow runat="server">
<Items>
<f:Grid runat="server" ID="grid1" Title="消息" ShowHeader="True" ShowGridHeader="True" ShowBorder="True" BoxFlex="1" >
<Columns>
<f:RowNumberField ColumnID="rowNumber" runat="server" Width="20px" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialID" HeaderText="物料编号" DataField="MaterialID" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialName" HeaderText="物料名称" DataField="Material.Name" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialSpecification" HeaderText="规格型号" DataField="Material.Specification" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialUnitName" HeaderText="计量单位" DataField="Material.MaterialUnit.Name" />
<f:BoundField runat="server" Width="70px" ColumnID="MaterialQuantity" HeaderText="数量" DataField="Intqty" />
<f:BoundField runat="server" Width="90px" ColumnID="NeedDate" HeaderText="需求日期" DataField="NeedDate" />
<f:BoundField runat="server" Width="80px" ColumnID="MaterialRemark" HeaderText="备注" DataField="Remark" ExpandUnusedSpace="True" />
</Columns>
</f:Grid>
</Items>
</f:FormRow>
复制代码
作者:
SwordElf
时间:
2019-5-28 09:13
原因已找到,是ColumnID重复造成的,谢谢各位了
作者:
sanshi
时间:
2019-5-28 09:59
SwordElf 发表于 2019-5-28 09:13
原因已找到,是ColumnID重复造成的,谢谢各位了
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4