:: Forum >>

grid doen't display all rows

Hi Alex,

I am using IE and AW 2.5.3. Whether the grid is shown stand alone or under a table, it doesn't show last couple of rows. In the following example it doesn't show last row even if I increase the height of the grid. If I delete the data of last row then surprisingly it doesn't hide the current last row. Please help resolving it.

Here is the code, save it as HTML and drop aw.js and aw.css in the same directory


<script src="aw.js" type="text/javascript"></script>
<link href="aw.css" rel="stylesheet">
<script id="queueListdata" type="xml/data">
<data><Process><jobCategory>AutoRule (Parallel) Falmouth-3070993475</jobCategory><categoryId>-1002</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>-1002~1054907</keyId></Process><Process><jobCategory>AutoRule (Parallel)- Dont use</jobCategory><categoryId>-1001</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>-1001~1054907</keyId></Process><Process><jobCategory>Test Rule</jobCategory><categoryId>2432535</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432535~1054907</keyId></Process><Process><jobCategory>Task Scheduler</jobCategory><categoryId>2432904</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432904~1054907</keyId></Process><Process><jobCategory>Run Report</jobCategory><categoryId>2432534</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432534~1054907</keyId></Process><Process><jobCategory>Recovery Attach</jobCategory><categoryId>2432533</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432533~1054907</keyId></Process><Process><jobCategory>RS Profile Synch</jobCategory><categoryId>2666322</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666322~1054907</keyId></Process><Process><jobCategory>Purge Rules</jobCategory><categoryId>1314741</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>1314741~1054907</keyId></Process><Process><jobCategory>Purge Reports</jobCategory><categoryId>2432532</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432532~1054907</keyId></Process><Process><jobCategory>Manual Rule</jobCategory><categoryId>2432531</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432531~1054907</keyId></Process><Process><jobCategory>Interest Calculation</jobCategory><categoryId>2666474</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666474~1054907</keyId></Process><Process><jobCategory>Financial Close Reports</jobCategory><categoryId>2666526</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666526~1054907</keyId></Process><Process><jobCategory>Financial Close Process</jobCategory><categoryId>2666527</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666527~1054907</keyId></Process><Process><jobCategory>Financial Close Manual Rules</jobCategory><categoryId>2666525</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666525~1054907</keyId></Process><Process><jobCategory>Dont Select 2</jobCategory><categoryId>-2</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>-2~1054907</keyId></Process><Process><jobCategory>Dont Select</jobCategory><categoryId>-1</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>-1~1054907</keyId></Process><Process><jobCategory>Data Load Misc</jobCategory><categoryId>2666380</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666380~1054907</keyId></Process><Process><jobCategory>AutoRule(Parallel) CapeCod-3070993472</jobCategory><categoryId>-1003</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>-1003~1054907</keyId></Process><Process><jobCategory>Automatic Rules</jobCategory><categoryId>2432527</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432527~1054907</keyId></Process><Process><jobCategory>Bad</jobCategory><categoryId>1001</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>1001~1054907</keyId></Process><Process><jobCategory>Calc (Parallel) - YogeshTest</jobCategory><categoryId>-3</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>-3~1054907</keyId></Process><Process><jobCategory>Calc (Serial)</jobCategory><categoryId>2666321</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666321~1054907</keyId></Process><Process><jobCategory>Calc - Model</jobCategory><categoryId>2666428</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666428~1054907</keyId></Process><Process><jobCategory>Calc - Now</jobCategory><categoryId>2666510</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666510~1054907</keyId></Process><Process><jobCategory>Contract Attach</jobCategory><categoryId>2432528</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432528~1054907</keyId></Process><Process><jobCategory>Data Load</jobCategory><categoryId>2432530</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432530~1054907</keyId></Process><Process><jobCategory>Data Load 835</jobCategory><categoryId>2666378</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666378~1054907</keyId></Process><Process><jobCategory>Data Load 837</jobCategory><categoryId>2666379</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2666379~1054907</keyId></Process><Process><jobCategory>Data Load Initiator</jobCategory><categoryId>2432529</categoryId><status>Running</status><entity>Concuity Client Creation/Admin Organization</entity><customerId>1054907</customerId><flag>Yes</flag><keyId>2432529~1054907</keyId></Process><Process><jobCategory>Bad</jobCategory><categoryId>1001</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>1001~3070993464</keyId></Process><Process><jobCategory>Test Rule</jobCategory><categoryId>2432535</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2432535~3070993464</keyId></Process><Process><jobCategory>AutoRule (Parallel) Falmouth-3070993475</jobCategory><categoryId>-1002</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>-1002~3070993464</keyId></Process><Process><jobCategory>Task Scheduler</jobCategory><categoryId>2432904</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2432904~3070993464</keyId></Process><Process><jobCategory>Run Report</jobCategory><categoryId>2432534</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2432534~3070993464</keyId></Process><Process><jobCategory>Recovery Attach</jobCategory><categoryId>2432533</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2432533~3070993464</keyId></Process><Process><jobCategory>RS Profile Synch</jobCategory><categoryId>2666322</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2666322~3070993464</keyId></Process><Process><jobCategory>Purge Rules</jobCategory><categoryId>1314741</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>1314741~3070993464</keyId></Process><Process><jobCategory>Purge Reports</jobCategory><categoryId>2432532</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2432532~3070993464</keyId></Process><Process><jobCategory>Financial Close Process</jobCategory><categoryId>2666527</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2666527~3070993464</keyId></Process><Process><jobCategory>Dont Select 2</jobCategory><categoryId>-2</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>-2~3070993464</keyId></Process><Process><jobCategory>Dont Select</jobCategory><categoryId>-1</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>-1~3070993464</keyId></Process><Process><jobCategory>Data Load Initiator</jobCategory><categoryId>2432529</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2432529~3070993464</keyId></Process><Process><jobCategory>Contract Attach</jobCategory><categoryId>2432528</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2432528~3070993464</keyId></Process><Process><jobCategory>Calc - Model</jobCategory><categoryId>2666428</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>2666428~3070993464</keyId></Process><Process><jobCategory>AutoRule(Parallel) CapeCod-3070993472</jobCategory><categoryId>-1003</categoryId><status>Running</status><entity>Dev - Cape Cod Healthcare, Inc.</entity><customerId>3070993464</customerId><flag>Yes</flag><keyId>-1003~3070993464</keyId></Process></data></script>
<script type="text/javascript">
var selIdList = new Array();
var rowNum =0;
var table_queueList = new AW.XML.Table;
var xmlNode = document.getElementById("queueListdata");
var xmlString = xmlNode.innerHTML;
table_queueList.setXML(xmlString);
var queueList = new AW.UI.Grid;
queueList.setId("idqueueList");
queueList.setSelectionMode("multi-cell");
queueList.setSelectorVisible(true);
queueList.setSelectorWidth(30);
queueList.setSelectorTemplate(new AW.Templates.CheckedItem);
queueList.setSize(950,400);
queueList.setRowCount(45);
queueList.onRowSelectedChanged = function rowselectchanged_queueList(value, i)
{
queueList.getSelectorTemplate(i).refresh();
}
var str = new AW.Formats.String;
var num = new AW.Formats.Number;
queueList.setCellModel(table_queueList);
queueList.setVirtualMode(false);
queueList.setCellTooltip(function tooltip_queueList(c,r){return queueList.getCellText(c,r)});
</script>
<script>
table_queueList.setColumns(["keyId","jobCategory","entity","status","reason"]);
var columns_queueList = ["keyId","Job Category","Entity","Status","Suspend Information"];
queueList.setHeaderText(columns_queueList);
queueList.setCellFormat([str,str,str,str,str]);
queueList.setColumnIndices([1,2,3,4]);
queueList.setColumnCount(4);
document.write(queueList);
</script>
<script>
function handleSelectedItems(gridIdentifier)
{
var selectedRows= gridIdentifier.getSelectedRows();
var rowsSize = selectedRows.length;
var node = document.jobQueueForm;
for(i=0;i<rowsSize;i++)
{
newField = document.createElement("input");
newField.type = "hidden";
newField.name = "ids["+i+"]";
newField.value = gridIdentifier.getCellText(0,selectedRows[i]);
node.appendChild(newField);
selIdList[i]=gridIdentifier.getCellText(0,selectedRows[i]);
}
return rowsSize;}
var awShortDoubleFormat=new AW.Formats.Number;
awShortDoubleFormat.setTextFormat("###,###,###.##");
var awLongDoubleFormat = new AW.Formats.Number;
awLongDoubleFormat.setTextFormat("###,###,###.##");
</script>
<style type="text/css">
.aw-row-selector {text-align: center;}
.aw-alternate-even {background: #fff;}
.aw-alternate-odd {background: #eee;}
.aw-mouseover-row {background: #def;}
.aw-grid-headers{background:blue!important;}
.aw-grid-header{background:none;}
#idqueueList .aw-column-0{width:1px;}
#idqueueList .aw-column-1{width:300px;}
#idqueueList .aw-column-2{width:300px;}
#idqueueList .aw-column-3{width:80px;}
#idqueueList .aw-column-4{width:270px;}
}</style>
Salim
Monday, June 22, 2009

This topic is archived.


Back to support forum

Forum search