Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Get Total Rows from TileGrid

    I'm used to using a function list getTotalRows() from ListGrid, however with TileGrid I'm not seeing anything comparable..
    I was previously using TileGrid.tiles.length however I noticed that removeSelectedData() doesn't update TileGrid.tiles making my count wrong.

    Any suggestions?

    #2
    Use TileGrid.getData().getLength().

    getTotalRows() only exists on ListGrid because a ListGrid can have more logical rows than data records (due to unsaved rows in inline editing).

    Comment


      #3
      great, thank you

      Comment

      Working...
      X