注:非调用OFFICE的DLL方法。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;u...
分类:
Web程序 时间:
2014-07-16 23:19:22
阅读次数:
352
1、使用datagrid实现列表table,注意参数singleSelect:true,2、formatter ID的显示 frozenColumns:[[{ field:'id', hidden:false, formatte...
分类:
Web程序 时间:
2014-07-01 21:04:08
阅读次数:
4201
组件常用方法:BeginEdit:使DataGrid进入编辑状态。CancelEdit:取消DataGrid的编辑状态。CollapseRowGroup:闭合DataGrid的行分组。CommitEdit:确认DataGrid的编辑完成。ExpandRowGroup:展开DataGrid的行分组。G...
分类:
其他好文 时间:
2014-07-01 10:36:01
阅读次数:
612
最近项目中遇到的问题,datagrid编辑后无法立刻与后台同步,只有失去焦点时才更新,在网上找了找,这个方法可以用用:转自:http://blog.csdn.net/lianchangshuai/article/details/7787344解决办法:在列的绑定属性里加上UpdateSourceTr...
分类:
其他好文 时间:
2014-07-01 00:28:45
阅读次数:
191
def new # @foo = Foo.new @foos = Foo.find(:all,:conditions=>["project_id = #{@project.id}"]) @foolist = @foos.map do |f| { :id => f.id...
分类:
其他好文 时间:
2014-06-29 20:19:48
阅读次数:
437
也懒得打其它字了,直接进入主题吧
1.首先,数据表Rex_Test
ID
int
自增
tName
varchar(10)
姓名
tEmail
varchar(80)
邮箱
2.至于代码里的Jqurey EasyUI包就直接去官网下载吧,当然其它地方也行,这里就不多做说明了。
3...
分类:
数据库 时间:
2014-06-28 06:57:35
阅读次数:
300
第二篇只是学了加载用datagrid加载数据,数据的增删改还没有做,今天主要是解决这个问题了。在做增删改前需要弹出对应窗口,这就需要了解一下EasyUi的弹窗控件。摘自:http://philoo.cnblogs.com/ 我的理解,就是panel有的属性Window、dialog都有,同时保留自己...
分类:
Web程序 时间:
2014-06-27 20:05:54
阅读次数:
307
easyui datagrid的排序默认是服务器端排序,可以用sorter实现客户端排序[2];客户端分页可用filter实现[3];客户端搜索同样可以用filter实现。...
分类:
其他好文 时间:
2014-06-27 10:37:26
阅读次数:
161
一点一点增加,后面继续。1、Row Editing in DataGrid 编辑,总是绑定不了checkbox的问题Status第一次的状态,如果是true, 无论如果都绑定不了checkbox,意思是checkbox的勾一直没有打上,手点之后,下一次编辑,就可以打上了。通过firebug,查看到原...
分类:
Web程序 时间:
2014-06-26 16:29:47
阅读次数:
289
toolbar: [{ text: "添加", iconCls: 'icon-add', handler: addWeekPlan, id: 'WeekPlan_AddBtn' }]$('#WeekPlan_Ad...
分类:
其他好文 时间:
2014-06-26 16:14:56
阅读次数:
315