FineUI 官方论坛
标题:
可编辑单元格问题,
[打印本页]
作者:
wolkai
时间:
2013-12-4 07:44
标题:
可编辑单元格问题,
请教老大,今天用可编辑单元格遇见一问题:Grid 设置了可编辑后,CheckBox 不能显示,把AllowCellEditing设置为false就能显示了,请问下老大设计就是这样还是啥问题,代码如下
<x:Grid ID="BtnGrid" Title="动作列表" ShowBorder="false" ShowHeader="false" AutoHeight="true"
runat="server" EnableCheckBoxSelect="true" DataKeyNames="ID,Name,Ico" EnableRowNumber="true"
RowNumberWidth="24px" CheckBoxSelectOnly="true" AllowCellEditing="true" ClicksToEdit="1" AllowPaging="true" IsDatabasePaging="true" >
<Columns>
<x:ImageField Width="40px" DataImageUrlField="Ico" DataImageUrlFormatString="~/{0}"
HeaderText="图标"></x:ImageField>
<x:BoundField DataField="Name" DataFormatString="{0}" HeaderText="动作名称" Width="200px" />
<x:BoundField DataField="Code" DataFormatString="{0}" HeaderText="动作标识" />
<x:BoundField DataField="Calss" DataFormatString="{0}" HeaderText="动作类型" />
<x:RenderField Width="100px" ColumnID="displaySort" DataField="Sort" FieldType="String"
HeaderText="显示顺序">
<Editor>
<x:NumberBox ID="txtSort" Required="true" runat="server">
</x:NumberBox>
</Editor>
</x:RenderField>
<x:ImageField Width="60px" DataImageUrlField="Status" DataImageUrlFormatString="~/images/common/{0}.png"
HeaderText="启用状态"></x:ImageField>
</Columns>
</x:Grid>
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4