- 浏览: 83344 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
sfc235300:
假如我传的一个参数为name=李连杰后台request.get ...
jQuery Ajax 传中文参数出现乱码(传值,乱码)
/**
* 删除自定义字段
*/
var setting_customfields_handleDelete = function() {
var selectedKeys = setting_customfieldslist_grid.selModel.selections.keys;
if (selectedKeys.length > 0) {
var select = setting_customfieldslist_grid.getSelections();
for (var i = 0; i < select.length; i++) {
setting_customfieldslist_del_count++;
}
Ext.MessageBox.confirm(local_customfield_tips, local_customfield_confirmDelete, setting_customfieldslist_deleteRecord);
} else {
Ext.MessageBox.alert(local_customfield_tips, local_customfield_selectAtleastOneRecord);
}
}
/**
* 删除自定义字段记录
*/
function setting_customfieldslist_deleteRecord(btn) {
if (btn == 'yes') {
var flagdele = true;
var selectedRecords=setting_customfieldslist_grid.getSelections();
var ids=new Array();
var index;
for (var i = 0; i < selectedRecords.length; i++) {
ids.push(selectedRecords[i].get('ID'));
}
ids=ids.toString();
Ext.Ajax.request({
url : 'BLL/ModuleSystem/Setting/CustomField/Operation.aspx?cmd=delCustomFields&rand=' + Math.round(Math.random() * (10000 - 1)).toString(),
method : 'POST',
params : {
ids : ids
},
failure : function(response, options) {
Ext.MessageBox.hide();
Ext.MessageBox.alert(local_customfield_warn, local_customfield_ContactAdmin);
},
success : function(response, options) {
if (response.responseText != "OK") {
Ext.MessageBox.alert(local_customfield_tips, local_customfield_haveDeleteForbidRecord);
} else {
Ext.MessageBox.alert(local_customfield_tips, local_customfield_deleteSuccess);
setting_customfieldslist_store.reload();
}
}
});
}
}
* 删除自定义字段
*/
var setting_customfields_handleDelete = function() {
var selectedKeys = setting_customfieldslist_grid.selModel.selections.keys;
if (selectedKeys.length > 0) {
var select = setting_customfieldslist_grid.getSelections();
for (var i = 0; i < select.length; i++) {
setting_customfieldslist_del_count++;
}
Ext.MessageBox.confirm(local_customfield_tips, local_customfield_confirmDelete, setting_customfieldslist_deleteRecord);
} else {
Ext.MessageBox.alert(local_customfield_tips, local_customfield_selectAtleastOneRecord);
}
}
/**
* 删除自定义字段记录
*/
function setting_customfieldslist_deleteRecord(btn) {
if (btn == 'yes') {
var flagdele = true;
var selectedRecords=setting_customfieldslist_grid.getSelections();
var ids=new Array();
var index;
for (var i = 0; i < selectedRecords.length; i++) {
ids.push(selectedRecords[i].get('ID'));
}
ids=ids.toString();
Ext.Ajax.request({
url : 'BLL/ModuleSystem/Setting/CustomField/Operation.aspx?cmd=delCustomFields&rand=' + Math.round(Math.random() * (10000 - 1)).toString(),
method : 'POST',
params : {
ids : ids
},
failure : function(response, options) {
Ext.MessageBox.hide();
Ext.MessageBox.alert(local_customfield_warn, local_customfield_ContactAdmin);
},
success : function(response, options) {
if (response.responseText != "OK") {
Ext.MessageBox.alert(local_customfield_tips, local_customfield_haveDeleteForbidRecord);
} else {
Ext.MessageBox.alert(local_customfield_tips, local_customfield_deleteSuccess);
setting_customfieldslist_store.reload();
}
}
});
}
}
发表评论
-
Ext grid中在条件下显示或不显示某些列
2011-08-12 14:52 1123//#region当合同资金类型为付款时,列表显示开户银行和账 ... -
ExtJs中的ComboBox详细说明
2011-08-08 16:53 2895Ext.form.ComboBox属性及常用方法详解 2010 ... -
遍历grid下某一个字段的总和
2011-08-03 15:08 1327{ layout : 'fit', ... -
从Grid 获得 JSON 数据
2011-08-02 11:19 1111/** * 从Grid 获得 JSON 数据 ... -
隐藏显示tabpanel中的items
2011-07-28 11:28 1222xtype : 'tabpanel', ... -
最小长度与最大长度验证
2011-07-21 12:25 1332//取值范围(选择数字时显示) ... -
Ext.自动适应宽度
2011-07-19 12:04 936var setting_customfieldslist_g ... -
Ext.Tree扩展CheckBox方法
2011-07-15 12:16 988/////引入这个JS: Ext.ux.tree.Tre ... -
Extjs 列表中牢定不显示fixed
2011-07-15 11:03 820header :"所属项目" ... -
Ext核心API详解-Ext.tree.TreePanel
2011-07-08 17:16 1699Ext核心API详解-Ext.tree ... -
Form 和 Grid之间切换,列表和增删改
2011-07-08 15:56 822//Store contractAction.contrac ... -
Ext中封装的几个function
2011-07-06 10:07 682/** * 拼一个请求地址 ... -
JS中的try catch
2011-07-04 16:09 1188try{ //要调试的JS代码段 ... -
Ext智能提示 - Spket(Visual Studio 2008 插件)
2011-07-04 09:16 998Visual Studio 2008的Ext 2.0 ... -
Ext2.0 form使用实例
2011-06-23 11:55 705Ext2.0 的 form 不单增加了时间输入控件、隐藏 ... -
新建的时候给文本框附值(自己记录的备忘)
2011-06-21 10:28 733前台JS: //#region获取供 ... -
[转载]Ext.data-GroupingStore/JsonStore/SimpleStore
2011-06-10 09:48 971[转载]Ext.data-GroupingStore/ ... -
EXT2.0 grid 统计 sum
2011-06-10 09:45 1848EXT2.0 grid 统计 sum(转自#$%^& ... -
Ext同步与异步请求(转自garnettcwm)
2011-06-01 15:43 1155EXTJS 同步和异步请求 ... -
Ext一些方法的重写
2011-05-25 12:12 811重写了Ext2.2的一些方法,比如tableform等
相关推荐
数据加载中 请稍候 " ; mygrid new dhtmlXGridObject "projectlist" ; mygrid setImagePath " script dhtml grid imgs " ; mygrid setHeader "客户 项目 状态 是否ZZ 审核 ...
对第五的说明:之所以把意见反馈单独拿出是因为:如果那位兄弟姐妹能在使用过程中提出5条有用的建议(包括软件Bug,使用的习惯等,我将会根据您的要求送任意一个模块的源码,如果能提出建设性意见的可以随意指软件中...
-从Region控件中删除SplitColor属性,增加CollapseMode, EnableSplitTip, SplitTip, CollapsibleSplitTip属性(feedback:bmck)。 -BorderPanel更名为RegionPanel。 -DropDownList拥有MarkInvalid方法(feedback:sun...
1.建议读者下载源文件后,将该源文件进行备份,读者使用副本源文件进行学习,这样一但出问题就不用再从网上下载了。 2.将源文件中“数据库文件”文件夹一定要复制到C盘根目录下,这样才能保证您连接数据库文件...
静态编译后的易语言EXE/DLL之间不能再共享譬如窗口、窗口组件等类似资源,对于已经静态连接到一个EXE/DLL中的支持库,该支持库中的数据或资源将不能再被其它EXE/DLL中所使用的同名支持库访问。这是因为代码被分别...
快速执行多重查询并能够返回每页超过1000条的记录集,而这种操作是直接生成在内存中的。 程序本身非常短小精悍!压缩后只有348 KB。 完全使用MySQL C APIs程序接口。 以直观的表格界面建立或编辑数据表。 以直观的...
说明:其编法如(1)(3)在项目管理器中新建一个表单,名称为“房屋信息生成器”,在表单中添加13个label控件,6个combo控件,1个text控件,4个spinner控件,1个commandgroup控件,1个grid控件。说明:其编法如(1...
5、快速执行多重查询并能够返回每页超过1000条的记录集,而这种操作是直接生成在内存中的; 6、可视化查询编辑器; 7、完全使用MySQL C APIs程序接口; 8、以直观的表格界面建立或编辑数据表; 9、以直观的表格...
-从Region控件中删除SplitColor属性,增加CollapseMode, EnableSplitTip, SplitTip, CollapsibleSplitTip属性(feedback:bmck)。 -BorderPanel更名为RegionPanel。 -DropDownList拥有MarkInvalid方法(feedback:sun...
一套Developer Express控件...ExpressVerticalGrid Suite 表结构以垂直方式(卡片样式)的GRID显示,一般来说,GRID适合用来显示,而VerticalGrid适合用来编辑数据。下面的控件还不知道有什么用,请有知道的介绍一下。...
您使用一个SqlDataAdapter对象和一个SqlCommand对象通过调用一个存储过程从数据库中获取产品数据。您将SqlCommand对象的CommandType属性设置为CommandType.StoredProcedure,并将它的CommandText属性设置为...
30. 如何在Grid拆分窗口中取消拆分条 101 31. 如何利用Grid的动态属性进行动态设计 104 32. 如何生成一个具有滚动条的窗口来移动记录 108 33. 如何将程序图标放入系统托盘 111 第3章 数据处理 115 34. 如何...
菜单条和是在菜单的基础上显示的一个类似Window菜单的一个插件,工具条是一些按钮的集合,可以自定义图片。 树 [增加]提供右击方法实现的接口 [优化]点击项就折叠/反折叠,而不是点击 + 才折叠 下拉框 ...
168 MULTIPLE 反复多次执行上一次命令直到 执行别的命令或按Esc键 169 MVIEW MV 创建多视窗 170 MVSETUP 控制视口 171 NEW 新建图形文件 172 OFFSET O 偏移复制实体 173 OLELINKS 更新、编辑或取消已...
用户在每次使用的时候,都需要去先选中一条或者多条数据,然后在去点按钮进行相关操作,这样其实还是很麻烦的,做项目的过程中,为了用户着想,做了一个右键菜单,用户想要删除或者编辑某一条数据直接在其位置上右键...