]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | <!DOCTYPE html>\r |
2 | <html>\r | |
3 | <head>\r | |
4 | <meta http-equiv="X-UA-Compatible" content="IE=edge">\r | |
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r | |
6 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">\r | |
7 | <title>ForceFit Array Grid Example</title>\r | |
8 | <link rel="stylesheet" type="text/css" href="../shared/examples.css" />\r | |
9 | \r | |
10 | <!-- GC -->\r | |
11 | \r | |
12 | <script type="text/javascript" src="../shared/include-ext.js"></script>\r | |
13 | <script type="text/javascript" src="../shared/options-toolbar.js"></script>\r | |
14 | \r | |
15 | <!-- page specific -->\r | |
16 | <style type="text/css">\r | |
17 | /* style rows on mouseover */\r | |
18 | .x-grid-row-over .x-grid-cell-inner {\r | |
19 | font-weight: bold;\r | |
20 | }\r | |
21 | /* shared styles for the ActionColumn icons */\r | |
22 | .x-action-col-cell img {\r | |
23 | height: 16px;\r | |
24 | width: 16px;\r | |
25 | cursor: pointer;\r | |
26 | }\r | |
27 | /* custom icon for the "buy" ActionColumn icon */\r | |
28 | .x-action-col-cell img.buy-col {\r | |
29 | background-image: url(../shared/icons/fam/accept.png);\r | |
30 | }\r | |
31 | /* custom icon for the "alert" ActionColumn icon */\r | |
32 | .x-action-col-cell img.alert-col {\r | |
33 | background-image: url(../shared/icons/fam/error.png);\r | |
34 | }\r | |
35 | \r | |
36 | .x-ie6 .x-action-col-cell img.buy-col {\r | |
37 | background-image: url(../shared/icons/fam/accept.gif);\r | |
38 | }\r | |
39 | .x-ie6.x-action-col-cell img.alert-col {\r | |
40 | background-image: url(../shared/icons/fam/error.gif);\r | |
41 | }\r | |
42 | \r | |
43 | .x-ie6 .x-action-col-cell img {\r | |
44 | position:relative;\r | |
45 | top:-1px;\r | |
46 | }\r | |
47 | </style>\r | |
48 | <script type="text/javascript" src="force-fit-grid.js"></script>\r | |
49 | </head>\r | |
50 | <body>\r | |
51 | <h1>ForceFit Array Grid Example</h1>\r | |
52 | <p>This example shows how to use the <code>forceFit</code> config to make columns always fit within the available width.</p>\r | |
53 | <p>This also illustrates the <code>reserveScrollbar</code> config which means that space for the scrollbar will <em>always</em>\r | |
54 | be reserved even if the grid panel is tall enough that no scrollbar is required.</p>\r | |
55 | <p>Note that the js is not minified so it is readable. See <a href="force-fit-grid.js">force-fit-grid.js</a>.</p>\r | |
56 | </body>\r | |
57 | </html>\r |