Adobe AIR - Grid Scroll Bars Not Working
This is most problematic when populating the grids with new data. Clearing the grid for re-use seems to inevitably require a call to grid.refresh(). I have tried to recreate my own refresh, (setRowCount(0), clearRowModel(), deleting rows one at a time, etc.) but the data, the row indices, the grid HTML get out of sync really fast, at some point, a call to grid.refresh() is required to get everything cleaned up and ready for re-use. All with no effect on getting the scroll bars 're-attached'.
This is easily demonstrable using the AW 'change datasets.htm' example that shows how to load two different datasets into the grid. The scroll bars are ineffective immediately, as stated above.
The only mod made to the example to run it in AIR is to add the line:
And you only need a minimally edited descriptor file (application.xml) to run it.
Has anybody had any experience with or a work around for this?
Adobe AIR 1.5