Announcement

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

    Accessing underlying ResultSet data when filterLocalData is set and filters are applied

    Our application uses a local ListGrid that is like a working area for users to add and remove products from a product catalog. We use the products the user has currently selected in the local ListGrid as a set criteria to filter out duplicates when the product catalog window grid is fetched. However when users apply filters to the local ListGrid data it applies to both the contents of the grid but also the underlying ResultSet, which leads to dups in our product catalog fetch. Can I programmatically access the underlying ResultSet without these FilterEditor criteria applied? Thanks.

    #2
    The grid contents just reflect whatever is in the ResultSet - these two can't differ. The ResultSet does maintain other, internal caches but these are not accessible. The exception is resultSet.allRows, which remains accessible but read-only, if you provided it initially.

    If you want to access the full set of available rows and use it with multiple components, a clientOnly DataSource is a better way to do this.

    Comment

    Working...
    X