From e0c6d3e25491defe3dd251b5405476d4a82359c2 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Wed, 13 Oct 2021 11:01:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EDataGrid=E5=88=86=E7=BB=84?= =?UTF-8?q?=E8=A1=A8=E5=92=8C=E5=86=BB=E7=BB=93=E5=88=97=E7=9A=84=E5=90=88?= =?UTF-8?q?=E5=B9=B6=E5=8D=95=E5=85=83=E6=A0=BC=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/demo/demoDataGridGroupGrid.html | 201 +++++++++--------- 1 file changed, 102 insertions(+), 99 deletions(-) diff --git a/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html b/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html index 7ecf38e7..7c00e7df 100644 --- a/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html +++ b/web/src/main/resources/views/modules/demo/demoDataGridGroupGrid.html @@ -14,105 +14,105 @@
- <#form:form id="searchForm" model="${testData}" action="${ctx}/test/testData/listData" method="post" class="form-inline hide" - data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> -
- -
- <#form:input path="testInput" maxlength="200" class="form-control width-120"/> -
-
-
- -
- <#form:input path="testTextarea" maxlength="200" class="form-control width-120"/> -
-
-
- -
- <#form:select path="testSelect" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:select path="testSelectMultiple" dictType="sys_menu_type" multiple="true" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:radio path="testRadio" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:checkbox path="testCheckbox" dictType="sys_menu_type" blankOption="true" class="form-control"/> -
-
-
- -
- <#form:input path="testDate_gte" readonly="true" maxlength="20" class="form-control laydate width-date" - dataFormat="date" data-type="date" data-format="yyyy-MM-dd" data-done="testDate_lte.click()"/> -  -  - <#form:input path="testDate_lte" readonly="true" maxlength="20" class="form-control laydate width-date" - dataFormat="date" data-type="date" data-format="yyyy-MM-dd"/> -
-
-
- -
- <#form:input path="testDatetime_gte" readonly="true" maxlength="20" class="form-control laydate width-datetime" - dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm" data-done="testDatetime_lte.click()"/> -  -  - <#form:input path="testDatetime_lte" readonly="true" maxlength="20" class="form-control laydate width-datetime" - dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> -
-
-
- -
- <#form:treeselect id="testUser" title="用户选择" - path="testUser.userCode" labelPath="testUser.userName" - url="${ctx}/sys/office/treeData?isLoadUser=true" allowClear="true"/> -
-
-
- -
- <#form:treeselect id="testOffice" title="机构选择" - path="testOffice.officeCode" labelPath="testOffice.officeName" - url="${ctx}/sys/office/treeData" allowClear="true"/> -
-
-
- -
- <#form:treeselect id="testAreaCode" title="区域选择" - path="testAreaCode" labelPath="testAreaName" - url="${ctx}/sys/area/treeData" allowClear="true"/> -
-
-
- -
- <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> -
-
-
- -
- <#form:input path="remarks" maxlength="500" class="form-control width-120"/> -
-
-
- - -
- + <#form:form id="searchForm" model="${testData}" action="${ctx}/test/testData/listData" method="post" class="form-inline hide" + data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}"> +
+ +
+ <#form:input path="testInput" maxlength="200" class="form-control width-120"/> +
+
+
+ +
+ <#form:input path="testTextarea" maxlength="200" class="form-control width-120"/> +
+
+
+ +
+ <#form:select path="testSelect" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:select path="testSelectMultiple" dictType="sys_menu_type" multiple="true" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:radio path="testRadio" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:checkbox path="testCheckbox" dictType="sys_menu_type" blankOption="true" class="form-control"/> +
+
+
+ +
+ <#form:input path="testDate_gte" readonly="true" maxlength="20" class="form-control laydate width-date" + dataFormat="date" data-type="date" data-format="yyyy-MM-dd" data-done="testDate_lte.click()"/> +  -  + <#form:input path="testDate_lte" readonly="true" maxlength="20" class="form-control laydate width-date" + dataFormat="date" data-type="date" data-format="yyyy-MM-dd"/> +
+
+
+ +
+ <#form:input path="testDatetime_gte" readonly="true" maxlength="20" class="form-control laydate width-datetime" + dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm" data-done="testDatetime_lte.click()"/> +  -  + <#form:input path="testDatetime_lte" readonly="true" maxlength="20" class="form-control laydate width-datetime" + dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/> +
+
+
+ +
+ <#form:treeselect id="testUser" title="用户选择" + path="testUser.userCode" labelPath="testUser.userName" + url="${ctx}/sys/office/treeData?isLoadUser=true" allowClear="true"/> +
+
+
+ +
+ <#form:treeselect id="testOffice" title="机构选择" + path="testOffice.officeCode" labelPath="testOffice.officeName" + url="${ctx}/sys/office/treeData" allowClear="true"/> +
+
+
+ +
+ <#form:treeselect id="testAreaCode" title="区域选择" + path="testAreaCode" labelPath="testAreaName" + url="${ctx}/sys/area/treeData" allowClear="true"/> +
+
+
+ +
+ <#form:select path="status" dictType="sys_search_status" blankOption="true" class="form-control isQuick"/> +
+
+
+ +
+ <#form:input path="remarks" maxlength="500" class="form-control width-120"/> +
+
+
+ + +
+
@@ -207,6 +207,9 @@ $('#dataGrid').dataGrid({ // 加载成功后执行事件 ajaxSuccess: function(data){ + // 分组和冻结列情况下的合并单元格测试 + //$('#dataGrid').dataGrid("mergeCell", "testInput,id"); + // ================ 启用合计行 BEGIN ============== // showFooter: true, // 是否显示底部合计行 // 第 1 种方法:请求完成之后通过js设置,举例如下: