- 36
- 0
- 约1.2万字
- 约 9页
- 2021-12-10 发布于福建
- 举报
置顶 ] ExtJS 中 grid 按照使用 Expand 插件、分组显示、中文拼
音首字母排序、改变行背景、列背景、静态数据分页综合案例
分类: RCP 【富客户端技术】 ExtJS 2010-08-19 14:51 1125 人阅读 评论 (1) 收藏 举报
1./***
2. * grid 基础综合案例
3. * 添加分页 Ext.data.PagingMemoryProxy 、重写 Ext.data.Store 支持中文汉字拼
音字母首字母排序、
4. * Ext.data.GroupingStore 分组( GroupingStore 继承 Store 的)、
5. * 改变列背景色、行背景色、字体颜色 getRowClass 方法和 renderer 函数
onRenderAgeCol 的使用技巧
6. * 添加分组、行收缩展开插件 Ext.grid.RowExpander 使用及重写
Ext.grid.RowExpander 组件的
7. * 添加 Ext.grid.GroupingView 的 groupTextTpl 方法的使用
8. * author: hoojo
9. * create by: 2010-8-14
10. */
11.
12. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
13. html
14. head
15. title 可分组显示、 expand 插件、中文排序的 Grid/ 改变行背景 / 单元格背
景/字体颜色 / 分页 /title
16. meta http-equiv =pragma content =no-cache
17. meta http-equiv =cache-control content =no-cache
18. meta http-equiv =expires content =0
19. meta http-equiv =content-Type content =text/html; charset=utf-8
20. meta http-equiv =author content =hoojo
21. meta http-equiv =blog content =/IBM_hoojo
22. link rel =stylesheet type =text/css href =ext2/resources/css/ext-all.css
23. style type =text/css
24. .rowOdd {
25. background-color: #EFF7FF;
26. color: white;
27. }
28.
29. .rowEven {
30. background-color: #CAE3FF;
31. color: white;
32. }
33.
34. .cellBG {
35. background-color: #FFDD99;
36.
原创力文档

文档评论(0)