3.2.0

aftre sort grid resizes

alex;

In the following code all looks good until I try sorting the grid. After I click on the heading, the grid shrinks to about 50px tall. Any ideas?

<HTML>

<HEAD>

<meta http-equiv="expires" content="-1">
<meta http-equiv="pragma" content="no-cache">

<LINK href="stylesheet.css" type=text/css rel=stylesheet>
<LINK href="stylesheet480.css" type="text/css" rel="alternate stylesheet" title="480">

<script src="ibk.js"></script>
<script src="runtime/lib/aw.js"></script>
<link href="runtime/styles/xp/aw.css" rel="stylesheet"></link>


<style>

/********************************************************************
/////////////////////////////////////////////////////////////////////

C S S

/////////////////////////////////////////////////////////////////////
********************************************************************/

/********************************************************************
Grid
********************************************************************/

/* you may skip grid id (#myGrid) in all other rules
- if the rule applies to all grids
- if you have only one grid on your page */

#myGrid { width: 100%;}

/********************************************************************
Rows
********************************************************************/

#myGrid .aw-grid-row {height: 120px; border-bottom: 1px solid #ccc}
/* #myGrid .aw-row-1 {color: blue} */

/* Alternate row colors */
#myGrid .aw-alternate-even {background: #fff;}
#myGrid .aw-alternate-odd {background: #eee;}

#myGrid .aw-alternate-even .aw-column-1 {background: #eee;}
#myGrid .aw-alternate-odd .aw-column-1 {background: #ddd;}

/* Highlight on mouseover, mousedown */
/* #myGrid .aw-mouseover-row {background: #ccc;} */
/* #myGrid .aw-mousedown-row {background: #999;} */

/* #myGrid .aw-mouseover-row .aw-column-1 {background: #bbb;} */
/* #myGrid .aw-mousedown-row .aw-column-1 {background: #888;} */

/* Selected rows */
#myGrid .aw-rows-selected {background: #316ac5;}
#myGrid .aw-rows-selected .aw-column-1 {background: #316ac5;}



/********************************************************************
Columns
********************************************************************/
#myGrid .aw-column-0 {width: 110px; border-right: 1px dotted #ccc;}
#myGrid .aw-column-1 {width: 260px; border-right: 1px dotted #ccc;}
#myGrid .aw-column-2 {width: 220px; border-right: 1px dotted #ccc;}
#myGrid .aw-column-3 {width: 160px; border-right: 1px dotted #ccc;}


/********************************************************************
Cells
********************************************************************/

/* #myGrid .aw-row-2 .aw-column-1 {color: red; font-style: italic} */

/* Highlight on mouseover, mousedown */
/* #myGrid .aw-mouseover-cell {color: red;} */
/* #myGrid .aw-mousedown-cell {background: #666;} */

/* Selected cells */
#myGrid .aw-grid-row .aw-cells-selected {background: #316ac5;}

/********************************************************************
Headers
********************************************************************/

#myGrid .aw-grid-headers {color: blue}
#myGrid .aw-grid-headers .aw-column-1 {font-weight: bold}

/* Highlight on mouseover, mousedown */
#myGrid .aw-mouseover-header {color: red;}
#myGrid .aw-mousedown-header {color: yellow;}

#myGrid .aw-header-1 {background: #def}

/********************************************************************
Row selectors
********************************************************************/

#myGrid .aw-row-selector {width: 20px; text-align: center}
#myGrid .aw-row-2 .aw-row-selector {font-weight: bold}
#myGrid .aw-mouseover-row .aw-row-selector {color: red;}

/* Highlight on mouseover, mousedown */
#myGrid .aw-mouseover-selector {background: green;}
#myGrid .aw-mousedown-selector {background: yellow;}

</style>

<SCRIPT language=JavaScript>
function setActiveStyleSheet(title) {
var i, a, main;
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
if(a.getAttribute("rel").indexOf("style") != -1
&& a.getAttribute("title")) {
a.disabled = true;
if(a.getAttribute("title") == title) a.disabled = false;
}
}
}

</script>

<style type="text/css" media="print">
.dontprint {display: none;}

</style>


<SCRIPT language=JavaScript>
var timerID;
var USBDrive='';
var Inserted='';
var PageData='';
var IREQ='null_2944238910832811';
var FileGroup='';
function ShowDriveList()
{
var formObject = document.OrderForm;
var fso, s, n, e, x;
fso = new ActiveXObject("Scripting.FileSystemObject");
e = new Enumerator(fso.Drives);
s = "";
for (; !e.atEnd(); e.moveNext())
{
x = e.item();
if (x.DriveType == 1 && x.IsReady == true)
{
USBDrive=x.DriveLetter
// alert ('The USB Chip has been detected as drive '+USBDrive);
formObject.DriveLetter.value=USBDrive;
}else {
USBDrive='';
// alert ('The USB Chip has been detected as drive '+USBDrive);
formObject.DriveLetter.value='Not Inserted';
}
}
}

function CopyFileUSB(FileName,report)
{

if (USBDrive=='')
{
alert('Please insert a USB data chip to continue.')
return;
}

var formObject = document.OrderForm
var fso, s, n, e, x;
var Sfile="C:\\GTLAPP\\GTLApp\\pdffiles\\"+FileName;
var dfile=USBDrive+":\\"+FileName;
var e1;
try {
fso = new ActiveXObject("Scripting.FileSystemObject");
fso.CopyFile(Sfile, dfile);
Inserted=1;
if (report==0){
alert(FileName+' File Copied')
}
} catch (e1) {
alert('An error has occured. Please make sure the USB data chaip has been inserted and there is enough room on the chip for files being copied.')
}

}


function SendDoc(){
var formObject = document.OrderForm;
if ((Inserted==1) && (formObject.DriveLetter.value=='Not Inserted'))
{
document.location="gateway.exe";
} else {
return;
}

}

function CreateDoc() {

return PageData;
}

function RecordDownload(ReqType)
{
//alert('hello')
try{
savefileviews( ['IREQ__'+IREQ,'FileName__' + obj.getCellValue(1,obj.getCurrentRow()),'FileGroup__' + obj.getCellValue(3,obj.getCurrentRow()),'ReqType__' + ReqType], [savefileviews_return] );

} catch (err) {
txt="There was an error on this page.\n\n"
txt+="Error description: " + err.description + "\n\n"
txt+="Page URL : " + document.location + "\n\n"
txt+="Error location : Button7.onClick - SaveEdits function\n\n"
txt+="Click OK to continue.\n\n"
alert(txt)
window.parent.HideButton('Progress')
return false;
}
}

</script>


</HEAD>

<BODY class="ContentBodyColor" LINK="blue" VLINK="blue" class="DataBodyColor" onload=" javascript:window.parent.HideAllButton(); window.parent.PreviousLocation='Javascript:history.back();history.back()'; window.parent.NextLocation='gateway.exe';window.parent.ShowButton('Button_Print'); window.parent.ShowButton('Button_Next2'); window.parent.ShowButton('Button_Previous'); window.parent.fnResize(window.parent.DirectionsSM,window.parent.ContentLG);
">
<object id="CommonDialog" classid="CLSID:F9043C85-F6F2-101A-A3C9-08002B2F49FB" style="display:none">
There was an error loading the Microsoft Common Dialog control.
</object>
<object id="FileSystem" classid="CLSID:0D43FE01-F093-11CF-8940-00A0C9054228" style="display:none">
There was an error loading the Microsoft File System Object.
</object>

<form name="OrderForm" action="saveorderdata.exe">

<table width=99% border=0 height="100%">

<!-- Page Heading -->
<tr>
<td valign='top' align="right" width="50%" colspan="2" class="MessageHeading">
Document Library
</td>
</tr>
<tr>
<td valign='top' align="right" width="50%" colspan="2" class="FRM_PageHeadingText">
&nbsp;
</td>
</tr>
<tr><td class="FRM_BoldHeadingText" align="left" width="75%" height="100%">
<DIV id="myDiv" width="100%" height="100%">
<script>

var HeaderText = ["Preview","File Name", "Description", "File Grouping", "File Type", "File Size"];;
var CellText = [
["<IMG SRC='pdffiles/pages/preview/Echelon_Detail_Aid_readerspreads3-001.jpg' BORDER=1>", "Echelon_Detail_Aid_readerspreads3.pdf", "", "ECHELON Flex™", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Echelon_Detail_Aid_readerspreads3-001.jpg','pages/Echelon_Detail_Aid_readerspreads3-002.jpg','pages/Echelon_Detail_Aid_readerspreads3-003.jpg','pages/Echelon_Detail_Aid_readerspreads3-004.jpg'];flippingBook.settings.bookWidth = 1148;flippingBook.settings.bookHeight = 382;flippingBook.settings.zoomImageWidth = 1146;flippingBook.settings.zoomImageHeight = 764;flippingBook.settings.downloadURL = 'Echelon_Detail_Aid_readerspreads3.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Echelon Flex Product Fact Sheet-001.jpg' BORDER=1>", "Echelon Flex Product Fact Sheet.pdf", "", "ECHELON Flex™", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Echelon Flex Product Fact Sheet-001.jpg','pages/Echelon Flex Product Fact Sheet-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'Echelon Flex Product Fact Sheet.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Echelon Flex Competitive Comparison Sell Sheet-001.jpg' BORDER=1>", "Echelon Flex Competitive Comparison Sell Sheet.pdf", "", "ECHELON Flex™", "Adobe Acrobat", "", "flippingBook.pages = ['pages/ECHELON Flex Competitive Comparison Sell Sheet-001.jpg','pages/ECHELON Flex Competitive Comparison Sell Sheet-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'ECHELON Flex Competitive Comparison Sell Sheet.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Harmonic ACE Product Fact Sheet-001.jpg' BORDER=1>", "Harmonic ACE Product Fact Sheet.pdf", "", "Harmonic ACE®", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Harmonic ACE Product Fact Sheet-001.jpg','pages/Harmonic ACE Product Fact Sheet-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 1056;flippingBook.settings.zoomImageHeight = 816;flippingBook.settings.downloadURL = 'Harmonic ACE Product Fact Sheet.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Harmonic ACE Brochure-001.jpg' BORDER=1>", "Harmonic ACE Brochure.pdf", "", "Harmonic ACE®", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Harmonic ACE Brochure-001.jpg','pages/Harmonic ACE Brochure-002.jpg','pages/Harmonic ACE Brochure-003.jpg','pages/Harmonic ACE Brochure-004.jpg','pages/Harmonic ACE Brochure-005.jpg','pages/Harmonic ACE Brochure-006.jpg','pages/Harmonic ACE Brochure-007.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'Harmonic ACE Brochure.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Harmonic FOCUS Prouduct Fact Sheet-001.jpg' BORDER=1>", "Harmonic FOCUS Prouduct Fact Sheet.pdf", "", "Harmonic FOCUS™", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Harmonic FOCUS Prouduct Fact Sheet-001.jpg','pages/Harmonic FOCUS Prouduct Fact Sheet-002.jpg','pages/Harmonic FOCUS Prouduct Fact Sheet-003.jpg','pages/Harmonic FOCUS Prouduct Fact Sheet-004.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 510;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'Harmonic FOCUS Prouduct Fact Sheet.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/XCEL Comparison _ TYCO_VERSASTEP-001.jpg' BORDER=1>", "XCEL Comparison _ TYCO_VERSASTEP.pdf", "", "XCEL Bladeless™", "Adobe Acrobat", "", "flippingBook.pages = ['pages/XCEL Comparison _ TYCO_VERSASTEP-001.jpg','pages/XCEL Comparison _ TYCO_VERSASTEP-002.jpg','pages/XCEL Comparison _ TYCO_VERSASTEP-003.jpg','pages/XCEL Comparison _ TYCO_VERSASTEP-004.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'XCEL Comparison _ TYCO_VERSASTEP.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/XCEL Comparison _APPLIED_SEPARATOR-001.jpg' BORDER=1>", "XCEL Comparison _APPLIED_SEPARATOR.pdf", "", "XCEL Bladeless™", "Adobe Acrobat", "", "flippingBook.pages = ['pages/XCEL Comparison _APPLIED_SEPARATOR-001.jpg','pages/XCEL Comparison _APPLIED_SEPARATOR-002.jpg','pages/XCEL Comparison _APPLIED_SEPARATOR-003.jpg','pages/XCEL Comparison _APPLIED_SEPARATOR-004.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'XCEL Comparison _APPLIED_SEPARATOR.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/MammoMark2 Product Fact Sheet-001.jpg' BORDER=1>", "MammoMark2 Product Fact Sheet.pdf", "", "Mammotome® EX", "Adobe Acrobat", "", "flippingBook.pages = ['pages/MammoMark2 Product Fact Sheet-001.jpg','pages/MammoMark2 Product Fact Sheet-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'MammoMark2 Product Fact Sheet.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Mammotome EX_Enhanced Tip Product Fact Sheet-001.jpg' BORDER=1>", "Mammotome EX_Enhanced Tip Product Fact Sheet.pdf", "", "Mammotome® EX", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Mammotome EX_Enhanced Tip Product Fact Sheet-001.jpg','pages/Mammotome EX_Enhanced Tip Product Fact Sheet-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 1056;flippingBook.settings.zoomImageHeight = 816;flippingBook.settings.downloadURL = 'Mammotome EX_Enhanced Tip Product Fact Sheet.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/MammotomeEX Product Brochure-001.jpg' BORDER=1>", "MammotomeEX Product Brochure.pdf", "", "Mammotome® EX", "Adobe Acrobat", "", "flippingBook.pages = ['pages/MammotomeEX Product Brochure-001.jpg','pages/MammotomeEX Product Brochure-002.jpg','pages/MammotomeEX Product Brochure-003.jpg','pages/MammotomeEX Product Brochure-004.jpg','pages/MammotomeEX Product Brochure-005.jpg','pages/MammotomeEX Product Brochure-006.jpg','pages/MammotomeEX Product Brochure-007.jpg','pages/MammotomeEX Product Brochure-008.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 651;flippingBook.settings.zoomImageHeight = 768;flippingBook.settings.downloadURL = 'MammotomeEX Product Brochure.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/MammotomeST Product Brochure-001.jpg' BORDER=1>", "MammotomeST Product Brochure.pdf", "", "Mammotome® EX", "Adobe Acrobat", "", "flippingBook.pages = ['pages/MammotomeST Product Brochure-001.jpg','pages/MammotomeST Product Brochure-002.jpg','pages/MammotomeST Product Brochure-003.jpg','pages/MammotomeST Product Brochure-004.jpg','pages/MammotomeST Product Brochure-005.jpg','pages/MammotomeST Product Brochure-006.jpg','pages/MammotomeST Product Brochure-007.jpg','pages/MammotomeST Product Brochure-008.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 651;flippingBook.settings.zoomImageHeight = 768;flippingBook.settings.downloadURL = 'MammotomeST Product Brochure.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Powerful Family of Products for Breast Care-001.jpg' BORDER=1>", "Powerful Family of Products for Breast Care.pdf", "", "Mammotome® EX", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Powerful Family of Products for Breast Care-001.jpg','pages/Powerful Family of Products for Breast Care-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 816;flippingBook.settings.zoomImageHeight = 1038;flippingBook.settings.downloadURL = 'Powerful Family of Products for Breast Care.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Neo2000 Bluetooth Probes Product Fact Sheet-001.jpg' BORDER=1>", "Neo2000 Bluetooth Probes Product Fact Sheet.pdf", "", "Neoprobe® GDS", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Neo2000 Bluetooth Probes Product Fact Sheet-001.jpg','pages/Neo2000 Bluetooth Probes Product Fact Sheet-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'Neo2000 Bluetooth Probes Product Fact Sheet.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/NeoProbeGDS Product Brochure-001.jpg' BORDER=1>", "NeoProbeGDS Product Brochure.pdf", "", "Neoprobe® GDS", "Adobe Acrobat", "", "flippingBook.pages = ['pages/NeoProbeGDS Product Brochure-001.jpg','pages/NeoProbeGDS Product Brochure-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 1056;flippingBook.settings.zoomImageHeight = 816;flippingBook.settings.downloadURL = 'NeoProbeGDS Product Brochure.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Powerful Family of Products for Breast Care-001.jpg' BORDER=1>", "Powerful Family of Products for Breast Care.pdf", "", "Neoprobe® GDS", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Powerful Family of Products for Breast Care-001.jpg','pages/Powerful Family of Products for Breast Care-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 816;flippingBook.settings.zoomImageHeight = 1038;flippingBook.settings.downloadURL = 'Powerful Family of Products for Breast Care.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/REALIZE My Success Brochure-001.jpg' BORDER=1>", "REALIZE My Success Brochure.pdf", "", "REALIZE™ Personalized Banding Solution", "Adobe Acrobat", "", "flippingBook.pages = ['pages/REALIZE My Success Brochure-001.jpg','pages/REALIZE My Success Brochure-002.jpg','pages/REALIZE My Success Brochure-003.jpg','pages/REALIZE My Success Brochure-004.jpg','pages/REALIZE My Success Brochure-005.jpg','pages/REALIZE My Success Brochure-006.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'REALIZE My Success Brochure.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/REALIZE Personalized Banding Solutions Brochure-001.jpg' BORDER=1>", "REALIZE Personalized Banding Solutions Brochure.pdf", "", "REALIZE™ Personalized Banding Solution", "Adobe Acrobat", "", "flippingBook.pages = ['pages/REALIZE Personalized Banding Solutions Brochure-001.jpg','pages/REALIZE Personalized Banding Solutions Brochure-002.jpg','pages/REALIZE Personalized Banding Solutions Brochure-003.jpg','pages/REALIZE Personalized Banding Solutions Brochure-004.jpg','pages/REALIZE Personalized Banding Solutions Brochure-005.jpg','pages/REALIZE Personalized Banding Solutions Brochure-006.jpg','pages/REALIZE Personalized Banding Solutions Brochure-007.jpg','pages/REALIZE Personalized Banding Solutions Brochure-008.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'REALIZE Personalized Banding Solutions Brochure.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/REALIZE Personalized Banding Solutions Comprehensive Roadmap Brochure-001.jpg' BORDER=1>", "REALIZE Personalized Banding Solutions Comprehensive Roadmap Brochure.pdf", "", "REALIZE™ Personalized Banding Solution", "Adobe Acrobat", "", "flippingBook.pages = ['pages/REALIZE Personalized Banding Solutions Comprehensive Roadmap Brochure-001.jpg','pages/REALIZE Personalized Banding Solutions Comprehensive Roadmap Brochure-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'REALIZE Personalized Banding Solutions Comprehensive Roadmap Brochure.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Thoracic Learning Journey Brochure-001.jpg' BORDER=1>", "Thoracic Learning Journey Brochure.pdf", "", "Procedure Specific & Clinical Data", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Thoracic Learning Journey Brochure-001.jpg','pages/Thoracic Learning Journey Brochure-002.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'Thoracic Learning Journey Brochure.pdf';flippingBook.create();"],
["<IMG SRC='pdffiles/pages/preview/Colorectal_Clinical Benefits Laparoscopic Colectomy-001.jpg' BORDER=1>", "Colorectal_Clinical Benefits Laparoscopic Colectomy.pdf", "", "Procedure Specific & Clinical Data", "Adobe Acrobat", "", "flippingBook.pages = ['pages/Colorectal_Clinical Benefits Laparoscopic Colectomy-001.jpg'];flippingBook.settings.bookWidth = 820;flippingBook.settings.bookHeight = 516;flippingBook.settings.zoomImageWidth = 820;flippingBook.settings.zoomImageHeight = 1100;flippingBook.settings.downloadURL = 'Colorectal_Clinical Benefits Laparoscopic Colectomy.pdf';flippingBook.create();"],

];

var obj = new AW.UI.Grid;

obj.setId("myGrid"); // necessary for CSS rules
obj.setRowHeight(150);
obj.setHeaderText(HeaderText);

obj.setCellText(CellText);
obj.setColumnCount(5);
// obj.setRowCount(5);
obj.setRowCount(CellText.length-1);
obj.setSelectorVisible(true);
obj.setSelectorText(function(i){return this.getRowPosition(i)+1});
obj.setSelectorWidth(25);

if (obj.getRowCount()==0)
{
document.location="gateway.exe";
}

obj.setVirtualMode(true); // disable virtual mode
obj.getRowTemplate().setClass("text", "wrap"); // multiline text

obj.setSelectionMode("single-row");

obj.onRowDoubleClicked = function(event, index){
// alert("Row " + index + " double clicked")
// alert(obj.getCellValue(6,obj.getCurrentRow()));
// FlippingBook='';

RecordDownload('View');

try
{
if(newwindow) newwindow.close();
}catch(err){
}
PageData=obj.getCellValue(6,obj.getCurrentRow());
FileGroup=obj.getCellValue(3,obj.getCurrentRow())
//alert(PageData);
var ScreenWidth=screen.width-10;
var ScreenHeight=screen.height-30;
settings="toolbar=no,location=no,directories=no,"+"status=no,menubar=no,scrollbars=no,"+"resizable=no,width="+ScreenWidth+",height="+ScreenHeight+",screenX=10,screenY=10";

newwindow=window.open('pdffiles/index.html','Doc', settings);
newdocument.close();
// CopyFileUSB(obj.getCellValue(0,obj.getCurrentRow()),0)
// sizeContent

};

obj.setStyle('height', '100%');

document.write(obj);

</script>
</DIV>
</td>
<td valign="top">
<font class="BoldHeading">Step 1 - Insert USB Chip</font><br>
<font class="FRM_BoldHeadingText">Insert the USB data chip into the open USB Port. The port is located on the right side of this
computer as highlighted by the red dot.<br><br>
<font class="FRM_BoldHeadingText">USB Drive Letter: <input name="DriveLetter" value='Not Inserted' type="text"><br><br>
<font class="BoldHeading">Step 2 - Select files to view or copy<br>
<font class="FRM_BoldHeadingText">From the list to the left, Double click on the filename to save the file to the data chip or click on the Copy All button to copy all the files to the USB data chip. You will see ONLY the LED light on the USB Data Chip flashing while the file(s)) are being copied. This will be the only indication of the file being copied.<br><br>
<script>

var button = new AW.UI.Button;
var tcount=obj.getRowCount();
button.setControlText("Copy All "+tcount+" files to USB Chip");
document.write(button);

button.onClick = function(){
// alert(obj.getRowCount());
for (i=0; i<=obj.getRowCount();i++)
{
CopyFileUSB(obj.getCellValue(0,i),1)
}
alert(tcount+' Files Copied\n\nYou can now remove the USB Data Chip.')
document.location="gateway.exe";



// window.parent.showProgressBar('Loading Attendee Data',1);
// document.location='DRV_Universal.exe?ReqID='+obj.getCellValue(1,obj.getCurrentRow())+'&edit=Y';

}

</script>
<font class="BoldHeading"><br><br>Step 3 - Remove USB chip<br>
<font class="FRM_BoldHeadingText">Once the flashing led stops, you can remove the USB chip from the port.<br><br>

</td>
</tr>

</table>
</form>

<script language="javascript">
timerID=setInterval("ShowDriveList()",(1000));
</script>

</BODY>

</HTML>


Thanks for all your help.
Richard Noble
October 9,
Try replacing the DIV container "ID" [myDiv] with same "ID" as grid [myGrid].
the line is:
<DIV id="myDiv" width="100%" height="100%">
October 9,
That worked... Thanks
Richard Noble
October 9,

This topic is archived.

See also:


Back to support forum