:: Forum >>

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
Wednesday, February 14, 2007
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)
Thursday, February 15, 2007
I had to put the object inside a div. That's the only way I found to fix that problem.
David
Wednesday, February 28, 2007

This topic is archived.


Back to support forum

Forum search