Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui.define/templates/HtmlActiveTableTemplate')
-rw-r--r--plugins/org.eclipse.osee.ote.ui.define/templates/HtmlActiveTableTemplate86
1 files changed, 43 insertions, 43 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.define/templates/HtmlActiveTableTemplate b/plugins/org.eclipse.osee.ote.ui.define/templates/HtmlActiveTableTemplate
index 627e41a5ce..7cb602a37c 100644
--- a/plugins/org.eclipse.osee.ote.ui.define/templates/HtmlActiveTableTemplate
+++ b/plugins/org.eclipse.osee.ote.ui.define/templates/HtmlActiveTableTemplate
@@ -1,43 +1,43 @@
-<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
-<script type="text/javascript" src="adapter/ext/ext-base.js"></script>
-
-<script type="text/javascript" src="ext-all.js"></script>
-<link rel="stylesheet" type="text/css" href="examples/grid/grid-examples.css" />
-<link rel="stylesheet" type="text/css" href="examples/examples.css" />
-<link rel="stylesheet" type="text/css" href="examples/lib.css" />
-<script type="text/javascript">
- Ext.onReady(function(){
- Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
-
- var myData = [##TABLE_DATA##];
-
- ##CUSTOM_FUNCTIONS##
-
- // create the data store
- var store = new Ext.data.SimpleStore({
- fields: [##COLUMN_DATA##]
- });
- store.loadData(myData);
-
- // create the Grid
- var grid = new Ext.grid.GridPanel({
- store: store,
- columns: [ ##COLUMN_CUSTOMIZATIONS_DATA##],
- stripeRows: true,
- viewConfig: {
- autoFill: true
- },
- sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
- ##HEIGHT##,
- ##WIDTH##,
- autoSizeColumns: true,
- ##AUTO_EXPAND_COLUMN##,
- renderTo: '##ELEMENT_NAME##',
- title:'##TABLE_TITLE##'
- });
- grid
- grid.getSelectionModel().selectFirstRow();
-});
-</script>
-
-
+<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
+<script type="text/javascript" src="adapter/ext/ext-base.js"></script>
+
+<script type="text/javascript" src="ext-all.js"></script>
+<link rel="stylesheet" type="text/css" href="examples/grid/grid-examples.css" />
+<link rel="stylesheet" type="text/css" href="examples/examples.css" />
+<link rel="stylesheet" type="text/css" href="examples/lib.css" />
+<script type="text/javascript">
+ Ext.onReady(function(){
+ Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
+
+ var myData = [##TABLE_DATA##];
+
+ ##CUSTOM_FUNCTIONS##
+
+ // create the data store
+ var store = new Ext.data.SimpleStore({
+ fields: [##COLUMN_DATA##]
+ });
+ store.loadData(myData);
+
+ // create the Grid
+ var grid = new Ext.grid.GridPanel({
+ store: store,
+ columns: [ ##COLUMN_CUSTOMIZATIONS_DATA##],
+ stripeRows: true,
+ viewConfig: {
+ autoFill: true
+ },
+ sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
+ ##HEIGHT##,
+ ##WIDTH##,
+ autoSizeColumns: true,
+ ##AUTO_EXPAND_COLUMN##,
+ renderTo: '##ELEMENT_NAME##',
+ title:'##TABLE_TITLE##'
+ });
+ grid
+ grid.getSelectionModel().selectFirstRow();
+});
+</script>
+
+

Back to the top