3.0.4

sort indicators not showing up

Hello, this used to work on beta1 but is not now now working on beta2 for some reason. Basically, when I click a column header the re-sorting works fine but the indicator does not show up. Can anybody tell me what I am missing? Thanks.

<style>
#claimedGrid {height: 60px; width: 633px; margin: 0px; border: none; font: menu;}
#claimedGrid .aw-column-0 {display: none!important;}
#claimedGrid .aw-column-1 {width: 24; }
#claimedGrid .aw-column-2 {width: 24; }
#claimedGrid .aw-column-3 {width: 26; }
#claimedGrid .aw-column-4 {width: 116; }
#claimedGrid .aw-column-5 {width: 400; }
#claimedGrid .aw-row-selector {text-align: center}
#claimedGrid .aw-grid-cell {border-right: 1px solid threedlightshadow;}
#claimedGrid .aw-grid-row {border-bottom: 1px solid threedlightshadow;}
#claimedGrid .aw-alternate-even {background: #FFFFFF;}
#claimedGrid .aw-alternate-odd {background: #D6DFFF;}
#claimedGrid .aw-grid-row {height: 20px; border-bottom: 1px solid #CCCCCC}
#claimedGrid .aw-row-selector {width: 20px; text-align: center}
#claimedGrid .aw-mouseover-row .aw-row-selector {color: red;}
#claimedGrid .aw-rows-selected{color:#999}
</style>
<div style="border: solid 1px #cccccc">
<script language="javascript">
var claimed = [[
"/moses/web/activities/ShowActivity?activity=51",
"<input type='checkBox' name='activity' value='51'/>",
"<img src='/static/images/icons/16x16/valuation.gif'/>",
"<img src='/static/images/icons/16x16/priority_low.gif' alt='Low Priority'/>",
"11/13/05 12:11 PM",
"Valuation: 4500 Singer Ct. Chantilly, VA"
],];
var obj = new AW.UI.Grid;
obj.setCellText(claimed);
obj.setHeaderText(["","","","Pri","Due Date","Description"]);
obj.setRowCount(1);
obj.setColumnCount(6);
obj.setSelectorVisible(true);
obj.setSelectorText(function(i){return this.getRowPosition(i)+1+0});
obj.setSelectorWidth(28);
obj.setHeaderHeight(20);
obj.setSelectionMode("single-row");
obj.setId("claimedGrid");
obj.onCellClicked = function(event, colIndex, rowIndex) {
if (colIndex == 1) {return true;}
window.location.href=this.getCellValue(0, rowIndex);
};
obj.onHeaderClicked = function (event, index) {
if (index == 1) {
toggleCheckBoxValues('activity', document.myActivities);
return true;
}
return false;
}
document.write(obj);
</script>
</div>
Joe Hudson
November 13,
Please, can anybody help me with this?

Joe
Joe Hudson
November 15,
Pretty please... with sugar on top :)
Joe Hudson
November 16,
The indicators are 2 images. Make sure that you have them under your style folder: \runtime\styles\xp
Qing
March 19,

This topic is archived.

See also:


Back to support forum