Skip to content

Instantly share code, notes, and snippets.

@cginzel
Created July 5, 2010 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cginzel/464531 to your computer and use it in GitHub Desktop.
Save cginzel/464531 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ext.Direct Grid Example</title>
<!-- ** CSS ** -->
<!-- base library -->
<link rel="stylesheet" type="text/css" href="ext-3.2.2/resources/css/ext-all.css" />
<!-- overrides to base library -->
<!-- page specific -->
<link rel="stylesheet" type="text/css" href="examples.css" />
<link rel="stylesheet" type="text/css" href="grid-examples.css" />
<style type=text/css>
/* style rows on mouseover */
.x-grid3-row-over .x-grid3-cell-inner {
font-weight: bold;
}
body .x-panel {
margin-bottom:20px;
}
.icon-grid {
background-image:url(./shared/icons/grid.png) !important;
}
#button-grid .x-panel-body {
border:1px solid #99bbe8;
border-top:0 none;
}
.add {
background-image:url(./shared/icons/fam/add.png) !important;
}
.option {
background-image:url(./shared/icons/fam/plugin.png) !important;
}
.remove {
background-image:url(./shared/icons/fam/delete.png) !important;
}
.save {
background-image:url(./shared/icons/save.gif) !important;
}
</style>
<!-- ** Javascript ** -->
<!-- ExtJS library: base/adapter -->
<script type="text/javascript" src="ext-3.2.2/adapter/ext/ext-base-debug.js"></script>
<!-- ExtJS library: all widgets -->
<script type="text/javascript" src="ext-3.2.2/ext-all-debug.js"></script>
<!-- overrides and extensions to base library -->
<!-- page specific -->
<script type="text/javascript" src="CompanyGrid-ui.js"></script>
<script type="text/javascript" src="CompanyGrid.js"></script>
<script type="text/javascript">
Ext.onReady(function(){
Ext.QuickTips.init();
var grid = new Testr.CompanyGrid({
renderTo: 'Testr-App'
});
});
</script>
</head>
<body bgcolor="#DFE8F6">
<div id='Testr-App'></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment