xpages - Dojo DataGrid (8.5.3 UP1) Returning Blank Rows - based on Readers field -
trying out dojo datagrid control on alternate xpage (so not impact production) existing view, utilizes readers fields in documents. i've got rest service implemented (xe:viewitemfileservice) , connected dojo datagrid fine (from 8.5.3 up1 controls).
i have 2 scenarios of user visibility (via roles in readers field, assigned nab group definition):
- all documents visible (user a). user can see documents, works fine one.
- user b can see documents. viewpanel control works fine, once it's in dojo datagrid, has values documents user b should see, remaining x (difference between correctly visible , total document count) rows populated "..." (non-values).
inspecting rest service's output via pathinfo yields correct documents user b; take sign , makes me think dojo datagrid what's misbehaving.
actual question:
how can suppress generation of unnecessary rows?
i've tried implement marky roden's approach, got lost on manipulation of how can control datagrid looking @ generate row count (he's talking programmatic store definitions when i'm using xe:djxdatagrid control). attribute of rowsperpage doesn't seem right, , can't find 1 xe:restservice make sense me i'm looking for.
anyone know how this? love work. been loving series brad balassaitis , xpages can us.
setup:
domino server 8.5.3 up1
nsf signed server id
the grid gets hint number of rows ?readviewentriews tells actual number, not number of documents user b can see. anyway romping through reader protected views without designing access speed has huge performance ramifications. if can categorize view combined reader/author fields , limit category both performance , empty rows go away. if have multiple possible hits (username, role, group membership), might want use rest service returns data using ssjs using viewnavigator
Comments
Post a Comment