DomAPI Home
DomAPI
Listgrid

Wiki: (WIP)

All about row and column (What actually are those numbers?)
  • currentRow, currentCol - there are the node index for the dom elemement within the listgrid goboContainer. When the gird is in virtual mode, it become kind of useless. (HT:I don't recommend to use this outside of the listgrid.js)
  • row index .selected array - this is the corresponding dataset row index for the currentRow.
  • (will add stuff about visibleXXX)
FAQ:
Q: When I add a new row to the grid with addRow, the grid seem to be frozen or the display is not updated?
A: Make sure you are using the beginUpdate and endUpdate pair.
listgrid.beginUpdate();
listgrid.addRow("");
listgrid.endUpdate();
listgrid.refresh();

   
DHTML by www.domapi.com