The ComboBox control is in many ways like the ListBox control, but takes up a lot less space, because the list of items is hidden when not needed. The...
分类:
其他好文 时间:
2014-07-22 22:56:32
阅读次数:
216
代码如下: 1 onLoadSuccess: function (data) { 2 var rows = data.rows; //得到行数据 3 var columnMaxCharacter = new Array(); //该...
分类:
其他好文 时间:
2014-07-22 22:54:55
阅读次数:
175
在backstage.jsp页面中我写了一个方法,用于在指定位置添加面板(id为msg的地方)function addTab(t,h){ if($('#msg').tabs('exists',t)){ $('#msg').tabs('select',t); }else{ $('#msg').ta.....
分类:
其他好文 时间:
2014-07-16 19:01:22
阅读次数:
240
easyUI datagrid改变所选列背景色...
分类:
其他好文 时间:
2014-07-16 12:54:03
阅读次数:
238
private void Button_Click(object sender, RoutedEventArgs e) { Popup1.PlacementTarget = TesTextBox; Popup1.Placeme...
分类:
其他好文 时间:
2014-07-16 12:06:26
阅读次数:
195
在工作中发现,在某个ACTION中选中COMBOBOX,将选中对象存入数据缓存中,进入下一个ACTION,当点击返回按钮,前一个ACTION重新创建,COMBOBOX中的数据源也初始化后进行BINDING。如果从数据缓存中拿出存储的值,让COMBOBOX处于被选中的状态是不可行的。因为值为对象,与L...
分类:
其他好文 时间:
2014-07-15 09:45:03
阅读次数:
194
在使用easyui getSelections 与 getSelected中,经常如果不注意这两个的使用,用混的话,如果对这两个属性不了解,找起问题来,都很费事。走过的弯路,做一个记录。DataGrid组件包括2个方法检索选择行数据:·getSelected:得到第一个选择行的数据,如果没有选择行则...
分类:
其他好文 时间:
2014-07-14 21:30:02
阅读次数:
399
(折叠前)→(折叠后)如上图的树形结构,我想让第三级的昭通市下的所有监测区都折叠这时候,我们可以这样做:function collapseTo() { var childs = $('#mytree').tree('getChildren', $('#_easyui_tree_...
分类:
其他好文 时间:
2014-07-14 21:18:18
阅读次数:
256
draggable用来在界面上创建一个可以拖动的元素,既然是可以拖动的元素,那么它在拖动过程中会有下面的几个事件:onBeforeDrag、onStartDrag、onDrag、onStopDrag。 创建一个拖动元素一般需要两个部分:一个包装层,用来保存在拖动过程中的位置;另外一个,是拖动的...
分类:
其他好文 时间:
2014-07-14 19:34:24
阅读次数:
359
在dataGrid的定义中添加如下代码:
JavaScript Code
1
2
3
4
5
6
7
8
9
10
11
onLoadSuccess : function (data) {
if (data.total == 0) {
$('#searchLogGrid').datagri...
分类:
其他好文 时间:
2014-07-14 17:18:52
阅读次数:
299