1. #1
    Sencha User MoimHossain's Avatar
    Join Date
    May 2010
    Location
    Netherlands
    Posts
    35
    Vote Rating
    0
    MoimHossain is on a distinguished road

      0  

    Default Some records are missing in ExtJs GridPanel

    Some records are missing in ExtJs GridPanel


    Guys,
    I have a grid panel, that uses JsonStore to get data from the server (I am generating the JSON data string in an ASP.net handler). I recently found that, when I am returning the data from the server, I am returning 161 rows, but the grid displays 130 rows. Other rows are missing. No errors, nothing.
    My grid panel uses server side paging, server side sorting. Interesting thing is for some request it's displaying data perfectly, and for some page, it loses some rows.

    I guess I am possibly doing something wrong, could be some of the rows contains bad data that the grid could not processed. But If I put a debug pointer at the server end and take the resulted JSON and validate in JSONLINT.com it says it's a valid JSON.

    Guys, I am new to this framework, and really could not found a way to trouble shoot this issue. Can any body suggest me some ways how I can trouble shoot this?

    I was really wondering why the grid didn't display any error messages while it failed (though I'm not sure what is going on) to read data?

    I would appreciate any suggestions from anybody.
    Kind regards

  2. #2
    Sencha User darthwes's Avatar
    Join Date
    Mar 2010
    Posts
    633
    Vote Rating
    -11
    darthwes can only hope to improve

      0  

    Default


    code?

    we need to see at a minimum the client request and the server response.

    My guesses are either your counting the rows incorrectly when you respond from the server OR you've set up paging without using a totalProperty in your store OR you haven't set up paging correctly.

    Will give more if you give more (code, xhr)...

  3. #3
    Sencha User MoimHossain's Avatar
    Join Date
    May 2010
    Location
    Netherlands
    Posts
    35
    Vote Rating
    0
    MoimHossain is on a distinguished road

      0  

    Default


    Dear darthwes,

    Thanks a lot for your time to respond me on this thread.

    I found my problem and resolved it. The reason was, my JsonStore was configured with the "idProperty" set to a field that contains duplicate data. For example, my idproperty was set to "name" field, and inside the data set, there were several rows with the same name values. Therefor it was causing problem, now I changed this idproperty to another field that will not have any duplicate code, and it started working cool.

    Thanks again for your time. Cheers

  4. #4
    Sencha User ab4bd's Avatar
    Join Date
    May 2012
    Location
    Venice, Fl
    Posts
    1
    Vote Rating
    0
    ab4bd is on a distinguished road

      0  

    Default


    I want to thank you all in this thread, I had the very same problem and searching around led me here for the solution.

    Thanks again.

    George

Similar Threads

  1. GridPanel not displaying records if some field in the record is missing
    By armandoxxx in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 1 Apr 2009, 3:23 AM
  2. GridPanel & PagingToolbar - missing records
    By tfulmino in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 10 Nov 2008, 11:13 AM
  3. extjs editorgrid only shows unique records I need it to show all records
    By sollaradmin in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 4 Oct 2008, 6:07 PM

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi