Announcement

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

    ListGrid.getRecords() throws error

    Hi,

    v9.0p_2013-07-17/Pro Deployment (built 2013-07-17)

    I don't think the grid has been drawn yet, and we call getRecords on it.
    This results in a JSO error by design:
    Code:
    Unknown.$errorIfNotCreated(BaseWidget.java:665)
    Unknown.$getGroupTree(ListGrid.java:5296)
    Unknown.$isGrouped(ListGrid.java:14559)
    Unknown.$getRecords(ListGrid.java:14546)
    Is that OK? Should calls to getRecords() be avoided when the grid hasn't been drawn yet?



    TIA,

    #2
    Calls to getRecords() should be avoided for an undrawn grid *where grouping has been requested*. Grouping doesn't take place until draw().

    Comment

    Working...
    X