:: Forum >> Version 2 >>

Sort Indicator Not Displaying

I have the situation where when I click on the column heading the sort indicator(up or down arrow) is not displaying on the column header.

I'm using the default aw.css and aw.js files.

Please respond if anyone has any suggestions. Thanks for any help!

Below is my code:
=====================================================
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="aw.js"></script>
<link href="aw.css" rel="stylesheet"></link>
</head>

<body bgcolor="#FFFFFF" text="#000000" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" >
<script type='text/javascript'>

var myData = [['0','0','45692','11093','609746565','SEMPRA ENERGY TRADING CORP.','FT','U'],['101686','0','45678','1428','9140559','CHEVRON U.S.A. INC.','FT','U'],['101652','0','45268','13928','34496146','MARKWEST NEW MEXICO L.P.','BA','U'],['101614','0','44847','9581','7369713','SOUTHWESTERN PUBLIC SERVICE CO','BA','U'],['100583','2','44342','13476','100013476','RED WILLOW PRODUCTION COMPANY','FT','U'],['24669','3','44341','11630','78353919','SOUTHERN UTE INDIAN TRIBE','FT','U']];
var myColumns = ['Contract Number','Amendment Number','Request Number','LE #','LE Duns #','LE Name','Service Type','Status'];

var obj = new AW.Grid.Extended;
obj.setSelectorVisible(true);
obj.setSelectorText(function(i){return this.getRowPosition(i)+1});
obj.setColumnCount(myColumns.length);
obj.setRowCount(myData.length);
obj.setCellText(myData);
obj.setHeaderText(myColumns);
obj.setCellEditable(true);
obj.setId('dataGrid');
document.write(obj);
</script>
</body></html>
Gary
Wednesday, July 19, 2006
Did you copy images into the same directory as aw.css ?
Alex (ActiveWidgets)
Wednesday, July 19, 2006



This topic is archived.

Back to support forum

Forum search