SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Always A Novice bronze trophy
    K. Wolfe's Avatar
    Join Date
    Nov 2003
    Location
    Columbus, OH
    Posts
    2,182
    Mentioned
    66 Post(s)
    Tagged
    2 Thread(s)

    Seasoned jqGrid Vets:

    So I'm writing some classes to adapt MongoDB into this nice tool. I'm currently using the default json format in order to populate the table. Because of the nature of mongodb, it is quite possible for a column to be out of order, or even completely missing from one record to the next. Is it possible to point to a column name rather than just the position?

  2. #2
    Always A Novice bronze trophy
    K. Wolfe's Avatar
    Join Date
    Nov 2003
    Location
    Columbus, OH
    Posts
    2,182
    Mentioned
    66 Post(s)
    Tagged
    2 Thread(s)
    I no longer need this answer, as I believe even if it is possible, I'd still run into problems with the column missing. I'm writing a PHP class in order to handle the entire process of creating a jqTable and query Mongo. It will handle keeping columns in order, and ensure keys that are missing are placed in as null.

    If you feel compelled though for Googler's sake's, have at it


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •