• Problem with grid

    By cezary dymus 1 decade ago

    If I try grids in xgrid.nsf, only xContactsSSJS.xsp  have grid with data, other xsp have empty grids (no records to view). Could anybody explain me why ?

    • Try rebuilding View indexes first

      By P Solano 1 decade ago

      Hi,

       

      I removed View indexes to make smaller .nsf file; xContactsSSJS.xsp is an example that is not using Notes Views, but database.search

      Open xGrid.nsf on Notes client and access all Views to recreate their indexes.

       

      From Project Overview:

      * xGrid.nsf has no View indexes to reduce file size. Open it first on Notes client  then open Contacts and People views to recreate indexes.

      Let me know if this doesn't fix your problem.

       

      Pablo

      • Am having a similar problem

        By Cameron Donnelly 1 decade ago

        Hi Pablo,

         

        Am keen to get this working as it looks great.  I'm having the same problem with the XGrid database.  have opened all the views in the DB, even previewed the REST service in a browser, for example using the xContacts.xsp page.  The REST JSON data does come through previewing it, but the actual page itself has no data in the xGrid.

         

        Have also tried to implement xGrid in another database.  Am putting together previews of different ways to use lists in XPages.  Am using the same view throughout - the view has an index and is up to date.  Firstly a normal view panel, then I used the Extension Library Grid control using a REST service.  So far, all good, but am having the same problem with xGrid.  The REST JSON data can be previewed, but the xGrid itself is empty.  So the same problem as the xGrid demo db.   Is there something I'm missing?

         

        Thanks for your help.

         

        Cameron

         

         

        • Try this...

          By P Solano 1 decade ago

          Hi Cameron,

          If view indexes have been recreated; you db size should be around 80 MB is that correct?

          1. Have you signed  the database with your ID?

          2. Try xGrid1.xsp first; this is an example of grid with an array as source to see if data plugin comes up/

          3. Have you tried xContactSSJS.xsp?

           

          Contact me if you still have a problem; psolanog@gmail.com