摘要: Ext.onReady(function () { var sm = new Ext.grid.RowSelectionModel({singleSelect:true})//设置单选 //var sm = new Ext.grid.CheckboxSelectionModel();//设置多选 var cm = new Ext.grid.ColumnModel([ new Ext.grid.RowNumberer(), //显示行... 阅读全文
posted @ 2014-03-25 22:01 尼姑哪里跑 阅读(1574) 评论(0) 推荐(0)
摘要: Ext.onReady(function () { var cm = new Ext.grid.ColumnModel([{ header: "id", dataIndex: "id" }, { header: "name", dataIndex: "name" }, { header: "score", dataIndex: "score"}]); var data... 阅读全文
posted @ 2014-03-25 20:44 尼姑哪里跑 阅读(560) 评论(0) 推荐(0)
摘要: Ext.onReady(function () { var tab = new Ext.TabPanel({ renderTo: Ext.getBody(), height: 500 }) tab.add({ title: "tab1", html:"content" }) tab.add({ id:Ext.id(), ... 阅读全文
posted @ 2014-03-25 20:21 尼姑哪里跑 阅读(352) 评论(0) 推荐(0)
摘要: 其中使用到的"RowExpander.js"为extjs官方示例中自带的。实现这个嵌套表格要注意两点技巧:1 提供给外层表格的dataStore的数据源以嵌套数组的形式表示细节区的数据,如下面的黑体所示。vartestData=[["lugreen","男",26,[["数学",100],["语文",150]]],["lisi","男",25,[["数学",100],["语文",150]]],["zhang 阅读全文
posted @ 2014-03-25 19:52 尼姑哪里跑 阅读(1380) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using WebUI.Mall;namespace WebUI.NewMall.PropertyManage{ public partial class CategoryPropertyInfo : PageBaseMall {... 阅读全文
posted @ 2014-03-25 17:53 尼姑哪里跑 阅读(413) 评论(0) 推荐(0)