Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8011505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:02:14+00:00 2026-06-04T19:02:14+00:00

I recently started working on a web project.My requirements are to use Flexigrid Jquery

  • 0

I recently started working on a web project.My requirements are to use Flexigrid Jquery plugin to render some chunks of data from a database. On the server side I use Jackson to format the data. My jquery script looks like this :

<script type="text/javascript">
$(document).ready(function() {
    $("#customers").flexigrid({
          url: 'JsonHandler',
          dataType: 'json',
          colModel : [
            {display: 'Id', name : 'userid',},
            {display: 'Name', name : 'fullname',},
            ],
          title: 'Table',
          width: 700,
          height: 200
        });   
        });
</script>

The server sends valid Json data to the browser(this is what I get in Firebug) :

[{"userid":"a","fullname":"John Doe"},
 {"userid":"b","fullname":"Mark Brown"},
 {"userid":"c","fullname":"Mads Borsen"}]

For some reason my table is still empty. If you have some suggestion, please help.

I assume that the name option from colModel needs to match exactly the key in the json data, for my case userid and fullname.

Could it be related to the character encoding ?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:02:15+00:00Added an answer on June 4, 2026 at 7:02 pm

    the format that FLEXIGRID needs to render is something like this

    {"page":"1","total":"1","rows": 
    [ 
      {"id":"1","cell":["1","55144602","Z014162","C"]},
      {"id":"3","cell":["3","55189392","Z014162","C"]},
      {"id":"4","cell":["4","55189393","Z014162","C"]},
      {"id":"5","cell":["5","55189394","Z014162","C"]},
      {"id":"6","cell":["6","55189395","Z014162","C"]}
    ]}
    

    You need to include the “page”, “total” and “rows” fields, also the “id”, and “cell” fields. The values contained in the brackets of “cell”:[] are the values that flexigrid use to render or fill the grid, I simulate the answer with a jsp file for testing purposes, My grid has 4 fields, and as you can see, they are filled with the values of each cell field of the answer.

    Im building an object that JACKSON could render, but Im still working on it, The only clue I have to achieve this is that if you send an ArrayList jackson returns a [] response, if you only return an Oject, or a JavaBean it returns a {} response.

    Hope this info Helps.

    Manuel Santillan El Leon

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently started working on a web project which was already in progress; the
I recently started to learn how to use openCL to speed up some part
Is OSCommerce outdated? I recently started working for a web development company that uses
I have a project that I have recently started working on seriously but had
I have recently started working on a web application at a new company and
I've recently started working on a web app with a new company and found
Recently started working with the scrapy library. I am trying to scrape from a
I just recently started working with Qt 4.7.4 64-bit in order to make some
I've been a web developer for some time now, and have recently started learning
Recently I started working with RAD and WebSphere on development of web services and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.