29 lines
1.5 KiB
HTML
29 lines
1.5 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<title>Array Grid Example</title>
|
|
<!-- YAHOO UI Utilities Lib, you will need to replace this with the path to your YUI lib file -->
|
|
<script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/utilities_2.1.0.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../resources/css/reset-min.css" />
|
|
<link rel="stylesheet" type="text/css" href="../../resources/css/grid.css" />
|
|
|
|
<script type="text/javascript" src="../../yui-ext.js"></script>
|
|
<script type="text/javascript" src="array-grid.js"></script>
|
|
|
|
<!-- Common Styles for the examples -->
|
|
<link rel="stylesheet" type="text/css" href="../examples.css" />
|
|
</head>
|
|
<body>
|
|
<div class="example-info">
|
|
To view the source of this page, right click (Mac users control+click) in this frame and select "View Source" or "This Frame"->"View Source".
|
|
</div>
|
|
<h1>Array Grid Example</h1>
|
|
<p>This example shows how to create a grid from Array data. For more details on this example, see <a href="http://www.jackslocum.com/yui/2006/08/30/a-grid-component-for-yahoo-ui-extensions-v1/">the blog post</a>.</p>
|
|
<p>Note that the js is not minified so it is readable. See <a href="array-grid.js">array-grid.js</a>.</p>
|
|
|
|
<!-- a place holder for the grid. requires the unique id to be passed in the javascript function, and width and height ! -->
|
|
<div id="example-grid" style="border: 1px solid #cccccc; overflow: hidden; width: 535px; height: 225px;"></div>
|
|
|
|
</body>
|
|
</html>
|