好文档 - 专业文书写作范文服务资料分享网站

jquery - easyui - cn文档 

天下 分享 时间: 加入收藏 我要投稿 点赞

jquery easyui中文培训文档

目 录

1 Accordion(可折叠标签) ..................................................................................................... 3

1.1 实例 ........................................................................................................................... 3 1.2 参数 ........................................................................................................................... 4 2 DateBox(日期框) ................................................................................................................ 4

2.1 实例 ........................................................................................................................... 4 2.2 参数 ........................................................................................................................... 7 2.3 事件 ........................................................................................................................... 7 2.4 方法 ........................................................................................................................... 7 3 ComboBox(组合框) ................................................................................................................. 7

3.1 实例 ........................................................................................................................... 7 3.2 参数 ........................................................................................................................... 9 3.3 事件 ......................................................................................................................... 10 3.4 方法 ......................................................................................................................... 10 4 Dialog(对话框) ................................................................................................................. 10

4.1 实例 ......................................................................................................................... 10 4.2 参数 ......................................................................................................................... 12 4.3 事件 ......................................................................................................................... 13 4.4 方法 ......................................................................................................................... 13 5 Messager(提示框) ............................................................................................................ 13

5.1 实例 ......................................................................................................................... 13 5.2 方法 ......................................................................................................................... 16 5.3 扩展 ......................................................................................................................... 17 6 NumberBox(数字框) ........................................................................................................ 17

6.1 实例 ......................................................................................................................... 17 6.2 参数 ......................................................................................................................... 18 7 ValidateBox(验证框) ........................................................................................................ 18

7.1 实例 ......................................................................................................................... 18 7.2 参数 ......................................................................................................................... 20 7.3 方法 ......................................................................................................................... 20 7.4 扩展 ......................................................................................................................... 20 8 Pagination(分页) .............................................................................................................. 21

8.1 实例 ......................................................................................................................... 21 8.2 参数 ......................................................................................................................... 22 8.3 事件 ......................................................................................................................... 23 9 Window(窗口) .................................................................................................................. 23

9.1 实例 ......................................................................................................................... 23 9.2 参数 ......................................................................................................................... 26 9.3 事件 ......................................................................................................................... 26 9.4 方法 ......................................................................................................................... 26 10 Panel(面板) ....................................................................................................................... 26

10.1 实例 ......................................................................................................................... 26 10.2 参数 ......................................................................................................................... 28 10.3 事件 ......................................................................................................................... 29

1

jquery easyui中文培训文档

11

12

13

14

10.4 方法 ......................................................................................................................... 29 Tabs(标签) ........................................................................................................................ 30 11.1 实例 ......................................................................................................................... 30 11.2 参数 ......................................................................................................................... 32 11.3 事件 ......................................................................................................................... 32 11.4 方法 ......................................................................................................................... 33 11.5 标签面板属性 ......................................................................................................... 33 Tree(树) ............................................................................................................................. 33 12.1 实例 ......................................................................................................................... 33 12.2 参数 ......................................................................................................................... 36 12.3 事件 ......................................................................................................................... 37 12.4 方法 ......................................................................................................................... 37 Layout(布局) .................................................................................................................... 38 13.1 实例 ......................................................................................................................... 38 13.2 参数 ......................................................................................................................... 39 13.3 方法 ......................................................................................................................... 39 Datagrid(数据表) ............................................................................................................. 39 14.1 实例 ......................................................................................................................... 40 14.2 参数 ......................................................................................................................... 43 14.3 Column参数 .......................................................................................................... 44 14.4 事件 ......................................................................................................................... 45 14.5 方法 ......................................................................................................................... 46

2

jquery easyui中文培训文档

1 Accordion(可折叠标签)

1.1 实例 1.1.1 代码

jQuery EasyUI

Accordion for jQuery

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

style=\>content2

content3

1.1.2 效果图

3

jquery easyui中文培训文档

1.1.3 扩展

实例html代码中

此行也可写成

,并且将js代码全部去掉,效果图是一样的。

1.2 参数 1.2.1 容器参数

参数名称 参数类型 数字 数字 布尔 布尔 描述 可折叠标签的宽度。 可折叠标签的高度。 是否使可折叠标签自动缩放以适应父容器的大小,当为true时width和height参数将失效。 是否显示边界线。 默认值 width height fit border auto auto false true 1.2.2 面板参数

可折叠标签面板继承自面板(panel),许多属性定义在

标签里,下面的属性就是如此:

参数名称 selected

参数类型 布尔 描述 设置可折叠标签中默认展开的标签页 默认值 false 2 DateBox(日期框)

2.1 实例

2.1.1 代码

4

jquery easyui中文培训文档

jQuery EasyUI

href=\>

  • 正文标题

  • 上下篇章

  • 相关推荐

  • 精选图文

21t8s4i8k523x6i11q2d