:: Forum >>

Bug in 2.0.1?

Alex, i hav a problem.
When i use AW.XML.Table to poupulate my AW.UI.Grid, the return of function getRowCount() is always 0, i dont know how many rows i hav in xml but in v2.0 its work.

help plz, tkz.
Paulo Cesar Silva Reis (PC from Brazil)
Tuesday, June 27, 2006
And another one, open the url:
http://www.sonner.com.br/pc/ActiveWidgets/examples3/extendedGrid4.html
roll the mouse inside lines (works wonderfull with css mouser over)
Now, click in ENABLE/DISABLE FOOTER, roll ur mouse over the footer.
Try to roll ur mouse inside lines again (css for mouse over stop working).

Why?
tkz.
Paulo Cesar Silva Reis (PC from Brazil)
Tuesday, June 27, 2006
Alex, i made a fix to first bug, its not a good way but i only found this.
var model = new AW.XML.Table;
model.setURL("../examples/data/companies-simple.xml");
model.defineProperty("async", false); // here
model.request();
var grid = new AW.UI.Grid;
...
grid.setCellModel(model);
grid.setRowCount(model.getCount());
...

Its a bug or this is the only way to do?
Paulo Cesar Silva Reis (PC from Brazil).
Wednesday, June 28, 2006
Anyone can help me please?
Paulo Cesar Silva Reis (PC from Brazil).
Wednesday, June 28, 2006

This topic is archived.


Back to support forum

Forum search