码迷,mamicode.com
首页 >  
搜索关键字:datagrid    ( 1792个结果
jQuery EasyUI Datagrid性能优化专题
jQuery EasyUI的Datagrid组件功能算是很强大了,不过性能确实不怎么乐观,而对于性能问题,网络上几乎也找不到相关的优化资料,所谓的牛人们可能 都望而却步了。本博客以后会带着分析Datagrid组件的性能问题,并且给出优化方案,也希望大家能集思广益,给出一些好的想法。
分类:Web程序   时间:2014-08-18 20:05:12    阅读次数:523
动态绑定easyui datagrid列名
根据实时数据在同一个DataGrid中显示不同字段,本身easyui并没有支持动态绑定列名,只有show属性显示或隐藏某字段。今天在网上看到直接修改easyui类库动态绑定列名的方法,废话不多说直接借用源码备份以后用。
分类:其他好文   时间:2014-08-18 18:03:22    阅读次数:338
easyui 中Datagrid 控件在列较多且无数据时,列显示不全的解决方案
在onLoadSuccess 中加入如下代码就OK啦$('#dg3').datagrid({ onLoadSuccess:function(data){ if(data.total==0){ var dc = ...
分类:其他好文   时间:2014-08-18 14:12:52    阅读次数:324
Caliburn框架中二级Menu无法调用ViewModel方法
公司WPF程序开发中应用了Caliburn框架,最近在做一个DataGrid上二级MenuItem时,发现Click方法无法调用ViewModel中的方法,但是回来后,在自己的机器上写了一个类似的测试程序时,却能够调用ViewModel中的方法测试程序DataGrid 1 3 ...
分类:其他好文   时间:2014-08-16 21:03:11    阅读次数:311
[easyui][datagrid]EasyUI DataGrid根据字段动态合并单元格
1.合并方法 /** * EasyUI DataGrid根据字段动态合并单元格 * 参数 tableID 要合并table的id * 参数 colList 要合并的列,用逗号分隔(例如:"name,department,office"); */ function mergeCellsByField(tableID, colList) {     var ColArray = co...
分类:其他好文   时间:2014-08-15 16:10:29    阅读次数:198
WPF DataGrid ListView 等等 改变 选中行 颜色;以及 不变的原因
WPF中改变选中行的颜色是很简单的,就是用触发器:比如:以DataGrid为例: DataGrid.RowStyle Style TargetType= DataGridRow SetterProperty= Background Value= White / Style .Triggers Tri...
分类:其他好文   时间:2014-08-15 12:11:28    阅读次数:232
Difference between List View and DataGrid in WPF
Well, in WPF the difference between ListView and DataGrid is just one. Editing. You need editing use DataGrid, otherwise use ListView. You can edit in...
分类:其他好文   时间:2014-08-15 12:11:19    阅读次数:211
WPF DataGrid、ListView 简单绑定
DataGrid运行效果: xaml 代码: DataGridName= dtgData ItemsSource= {Binding} AutoGenerateColumns= False DataGrid.Columns DataGridTextColumnBinding= {BindingPat...
分类:其他好文   时间:2014-08-15 11:59:48    阅读次数:231
easyui datagrid 表格组件列属性formatter和styler使用方法
明确单元格DOM结构要想弄清楚formatter和styler属性是怎么工作的,首先要弄清楚datagrid组件内容单元格的DOM接口,注意,这里指的是内容单元格,不包括标题单元格,标题单元格的结构有所区别。我们所有内容单元格的默认DOM结构如下: 文字 很简单,其实只...
分类:其他好文   时间:2014-08-13 12:44:26    阅读次数:186
【Easyui】Easyui Datagrid 排序
前端配置方法 方法一,HTML中添加sortable:true属性  data-options="field:'AMOUNT_OA',width:60,align:'right', sortable:true">总金额   方法二,JS中添加sortable:true属性     [{         field: 'AS_CON_STA...
分类:其他好文   时间:2014-08-12 17:26:04    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!