2013年6月29日
摘要: http://blog.csdn.net/chinadeng/article/details/7750796 阅读全文
posted @ 2013-06-29 23:12 wxlkeepmoving 阅读(180) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/superdog007/article/details/8225518http://www.kqiqi.com/knowledge/program/512.html 阅读全文
posted @ 2013-06-29 22:47 wxlkeepmoving 阅读(211) 评论(0) 推荐(0)
摘要: 我的页面结构是这样设计的:采用jQuery UI的layout进行布局。左侧west内为accordion,第一个panel内为一个tree。 中间Center内为一个Tabs。当点击某个accordion的panel,在Tabs控件内Create相应的tab。tab的内容通过iframe嵌入另外一个网页的内容:datagrid。当datagrid的内容实现增删改时,West内的tree同步实现数据的更新。可以通过以下代码从iframe页面内调用父页面内的内容。window.parent.window.$('#departmenttree').tree('reload& 阅读全文
posted @ 2013-06-29 22:39 wxlkeepmoving 阅读(630) 评论(0) 推荐(0)
摘要: jQuery EasyUI中accordion又事件onselect。API中这样写道:名称参数说明onSelecttitle,index当panel被选中时触发。onAddtitle,index当增加一个新panel时触发。onBeforeRemovetitle,index当移除一个panel之前触发,返回false就取消移除动作。onRemovetitle,index当移除一个panel时触发。onselect的实现为: 阅读全文
posted @ 2013-06-29 15:57 wxlkeepmoving 阅读(2907) 评论(0) 推荐(0)
摘要: 1,jQuery EasyUI中easyui-tree特定的JSON数据格式 1 [ 2 {"id":1,"text":"某公司","children":[ 3 {"id":2,"text":"生产部"}, 4 {"id":4,"text":"质检部","children":[ 5 {"id":3,"text":"销售部&quo 阅读全文
posted @ 2013-06-29 15:45 wxlkeepmoving 阅读(2273) 评论(1) 推荐(0)