1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
\r
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
\r
5 <title>From Markup Grid Example</title>
\r
6 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
\r
9 <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
\r
12 <script type="text/javascript" src="../../ext-all.js"></script>
\r
13 <script type="text/javascript" src="from-markup.js"></script>
\r
14 <link rel="stylesheet" type="text/css" href="grid-examples.css" />
\r
15 <!-- Common Styles for the examples -->
\r
16 <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
\r
17 <style type="text/css">
\r
18 #the-table { border:1px solid #bbb;border-collapse:collapse; }
\r
19 #the-table td,#the-table th { border:1px solid #ccc;border-collapse:collapse;padding:5px; }
\r
23 <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
\r
24 <h1>From Markup Grid Example</h1>
\r
25 <p>This example shows how to create a grid with from an existing, unformatted HTML table.</p>
\r
26 <p>Note that the js is not minified so it is readable. See <a href="from-markup.js">from-markup.js</a>.</p>
\r
27 <button id="create-grid" type="button">Create grid</button>
\r
30 <table cellspacing="0" id="the-table">
\r
32 <tr style="background:#eeeeee;">
\r
40 <td>Barney Rubble</td>
\r
45 <td>Fred Flintstone</td>
\r
50 <td>Betty Rubble</td>
\r