This commit is contained in:
jackchenyang
2024-05-23 13:29:09 +08:00
parent 0a06a9f562
commit 2b85402218
6 changed files with 27 additions and 8 deletions
@@ -11,7 +11,7 @@
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Grid1" runat="server" />
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="焊口信息列表" runat="server" EnableCollapse="false"
DataKeyNames="WeldJointCode" EnableCheckBoxSelect="true" EnableMultiSelect="true" PageSize="100" AllowPaging="true" >
DataKeyNames="WeldJointCode" EnableCheckBoxSelect="true" EnableMultiSelect="true" PageSize="100" AllowPaging="true" >
<Columns>
<f:RowNumberField />
<f:RenderField ColumnID="WeldJointCode" MinWidth="200px" DataField="WeldJointCode" HeaderText="焊口编号" />
@@ -42,7 +42,8 @@
return value == 1 ? '男' : '女';
}
function onGridRowSelect() {
function onGridRowSelect() {
console.log(1);
// 返回当前活动Window对象(浏览器窗口对象通过F.getActiveWindow().window获取)
var activeWindow = F.getActiveWindow();
// 选中行数据