JQGrid编辑要显示单元格内容
2012-12-10 10:06
337 查看
makeURL方法中可以编辑要显示的单元格内容
colModel: { name: "DATESOLD", index: "DATESOLD", width: "250", formatter: makeURL }, function makeURL(cellvalue, options, rowObject) { alert(cellvalue);//单元格值 alert(rowObject["test"]); //单元格行数据类 alert(options["rowId"]); //Grid类中的属性 alert(options["colModel"]["name"]); return "<a href='#' style='color: blue' >" + cellvalue + "</a>"; }
相关文章推荐
- swing中设置JTable的单元格不能被编辑、内容居中显示、隐藏JTable中的某一列
- jqGrid显示数据,属性,多重表头,子表,行编辑,单元格编辑等 基本
- excel中点击单元格时如何不让编辑栏里显示单元格里的内容
- gridview如何改变行显示的内容以及设置单元格的是否允许编辑
- gridview如何改变行显示的内容以及设置单元格的是否允许编辑
- JqGrid 编辑单元格内容时提示url未设定错误
- swing设置JTable的单元格内容居中显示、不能被编辑,隐藏某一列
- jquery datagird 单元格悬停显示内容
- Easyui 表格datagrid 的单元格内容显示方式扩展
- ligerui实现鼠标滑过行,显示单元格内容
- MFC中Edit将一个编辑框内容显示到另一个文本框
- GridView更新某(个)些指定单元格以及在编辑模式下无刷新显示隐藏单元格内某控件
- list contro控件根据单元格的内容改变显示的颜色
- C#中datagridview使用tooltip控件显示单元格内容的方法
- easyui-datagrid行编辑每增加一行,某列的单元格自动填充指定内容
- 读取Jtable某个单元格的内容(刚刚被编辑的单元格)
- table 中,如何使得单元格的内容不换行,单元格不被撑开,显示不下的时候在结尾处显示“...”
- 博计报表单元格内容竖排显示的制作方法
- Web报表单元格内容竖向显示的实现方法
- 获取wpf datagrid当前被编辑单元格的内容