摘要: Chsword.Excel2Object导出原理: 导出数据控制器程序: 二、导出数据: 原理和导出数据相反。 注意在使用Chsword.Excel2Object的时候 需要引用其他的dll才能正常使用。 阅读全文
posted @ 2016-11-16 10:50 丝竹之约 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 后台语句:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.T... 阅读全文
posted @ 2015-12-03 10:43 丝竹之约 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 方法一:前台使用function openTab() { var grid = $find("grdVendor"); var row = grid.get_behaviors().get_selection().get_selectedRows().ge... 阅读全文
posted @ 2015-12-01 10:22 丝竹之约 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 前台代码: 后台绑定与选中行 ... 阅读全文
posted @ 2015-11-30 17:11 丝竹之约 阅读(1201) 评论(0) 推荐(0) 编辑
摘要: HOW TO GET VALUE FROM SELECTED CELL IN WEBDATAGRID via BLOCKED SCRIPT1.on double click event you can use event args…eventArgs.get_item().get_row().get... 阅读全文
posted @ 2015-11-30 16:22 丝竹之约 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 工具栏前台代码: WebDataMenu做工具栏 ... 阅读全文
posted @ 2015-11-30 14:43 丝竹之约 阅读(590) 评论(0) 推荐(0) 编辑
摘要: 由于js不能控制WebDatagrid的可编辑不可编辑,只能用前台控制。当checkbox行需要设置有时可选有时不可选,如何用js解决。需要先后台设置可编辑.Behaviors.EditingCore.enabled=true;然后前台设置:WebDatagrid.get_columns().get... 阅读全文
posted @ 2015-11-30 11:10 丝竹之约 阅读(464) 评论(0) 推荐(0) 编辑
摘要: Assuming you are using templates for the check box column and the checkbox is the only control in that template, something like the following can be u... 阅读全文
posted @ 2015-11-30 10:41 丝竹之约 阅读(310) 评论(0) 推荐(0) 编辑
摘要: editingcore和cellediting两个属性是在webdatagrid™编辑细胞必不可少。你可以通过用户界面或使用代码来编辑一个单元格。使用须知首先,在webdatagrid的behaviors中添加CellEditing behavior属相(behaviors-EditingCore-... 阅读全文
posted @ 2015-11-30 10:00 丝竹之约 阅读(1364) 评论(7) 推荐(0) 编辑
摘要: google查询方法:site:help.infragistics.com 加要查询的字段 该方法是查找help.infragistics.com网站中的相关数据1.$find("WebDataGrid1").get_rows().get_element().moveRow(fromrow, tor... 阅读全文
posted @ 2015-11-28 08:30 丝竹之约 阅读(945) 评论(0) 推荐(0) 编辑