This commit is contained in:
2025-10-28 17:24:02 +08:00
parent b0898907eb
commit 17ce16a567
3 changed files with 14 additions and 5 deletions
@@ -54,7 +54,7 @@
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" Title="档案文件库"
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true" EnableColumnLines="true"
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="updateTime" SortDirection="DESC" OnSort="Grid1_Sort"
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="projectDeviceProcedureSubjectCode,formatFileCode,majorNo,fileVersion" SortDirection="ASC" OnSort="Grid1_Sort"
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableRowDoubleClickEvent="true" EnableTextSelection="true">
<Toolbars>
@@ -203,6 +203,10 @@
<%-- <Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
</Listeners>--%>
<%--<Listeners>
<f:Listener Event="dataload" Handler="onGridDataLoad" />
</Listeners>--%>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
@@ -242,6 +246,11 @@
</f:Menu>--%>
</form>
<script type="text/javascript">
//function onGridDataLoad(event) {
// this.mergeColumns(['projectDeviceProcedureSubjectCode', 'wbsFullPath', 'formatFileCode', 'formatFileName', 'majorNo', 'majorName', 'fileVersion'], {
// depends: true
// });
//}
<%-- var menuID = '<%= Menu1.ClientID %>';
// 返回false,来阻止浏览器右键菜单