1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>From Markup Grid Example</title>
6 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
7 <link rel="stylesheet" type="text/css" href="../shared/example.css" />
8 <style type="text/css">
10 border:1px solid #bbb;
11 border-collapse:collapse;
13 #the-table td,#the-table th {
14 border:1px solid #ccc;
15 border-collapse:collapse;
19 <script type="text/javascript" src="../../bootstrap.js"></script>
20 <script type="text/javascript" src="transform-dom.js"></script>
23 <h1>From Markup Grid Example</h1>
24 <p>This example shows how to create a grid with from an existing, unformatted HTML table.</p>
25 <p>Note that the js is not minified so it is readable. See <a href="transform-dom.js">transform-dom.js</a>.</p>
27 <button id="create-grid" type="button">Create grid</button>
30 <table cellspacing="0" id="the-table">
32 <tr style="background:#eeeeee;">
34 <th style="width: 40px;">Age</th>
40 <td>Barney Rubble</td>
45 <td>Fred Flintstone</td>