3.2.0

Firefox compatibility

I have some problems with the AW.Grid.Extended. Everything is fine with ie but with firefox the right scrollbar is not visible and I don't know why. Someone can help ?

var obj = new AW.Grid.Extended;
obj.setId('myGrid');
obj.setCellText(myData);		
obj.setHeaderCount(1);
obj.setSelectorWidth(25);
obj.setHeaderText(myHeaders);	
obj.setColumnCount(nbCols);
obj.setRowCount(nblignes);
obj.setSelectorVisible(false);
obj.setCellEditable(false);		
obj.setStyle('width', '100%'); 
obj.setStyle('height', 500);
obj.setSelectionMode("single-row"); 
obj.setScrollBars("both");
obj.setSelectorText(function(i){return this.getRowPosition(i)+1});
David
February 14,
Not sure if it is related but try changing

obj.setStyle('height', 500);

to

obj.setStyle('height', '500px');


(firefox requires to specify units in CSS).
Alex (ActiveWidgets)
February 15,
I had to put the object inside a div. That's the only way I found to fix that problem.
David
February 28,

This topic is archived.

See also:


Back to support forum