Home > jQuery > jqGrid TreeGrid SubGrid rewrite, code cleanup, keyboard navigation, jQuery 1.5.x tests

jqGrid TreeGrid SubGrid rewrite, code cleanup, keyboard navigation, jQuery 1.5.x tests

February 25th, 2011

Hello All,

After rewriting the Search module we have made the hard decision to rewrite the other two modules TreeGrid and SubGrid.
The reason for this lie in the concept of how these modules currently load the data -i.e after inserting every row we bind the appropriate events. This concept is not effective when the data is relative big. In such cases the TreeGrid throw a exception. Now we want to correct this problem binding the events at once.

Again with this we do some structure changes in the code. Lot of not used modules like grid.postdsata.js and grid.columns.js will be not more supported. They will be included into the download and moved to plugin directory. Also we have created another module named grid.addons.js. This module contain methods that will be no more supported. The full list of the methods will be know after a week. We have done some changes in GitHub, so you have a idea what we do.

Another good news is that we have realised (under development) a keyboard navigation in the Grid and Tree Grid. This will make jqGrid one of the best grids.

From today we begin intensive test with jQuery 1.5.1. If you encounter problems with this jQuery release please post it into the form with code example and data. Only these posts will be answered and eventually fixed.

As usual – any questions, comments, anything – is welcome. We are always listening and trying to improve.

Kind Regards
Yours jqGrid Team.

Tags:
  1. pro85
    March 1st, 2011 at 17:31 | #1

    Hi2all.
    I update JqGrid to lastest from github.
    But now not working treeGrid.
    It’s bug or something changed in config?

  2. March 1st, 2011 at 17:36 | #2

    Hello,
    Could you please, send me (or post) the grid configuration and simple response from the server so that I can look what is.

    Thank you.

    Tony

  3. pro85
    March 1st, 2011 at 17:46 | #3

    Hi Tony.
    Config:
    treeGrid: true,
    treeGridModel: ‘adjacency’,
    ExpandColumn: ‘name’,
    datatype: “json”,
    I have 5 columns (id,name,add,date,active).
    Response
    {“page”:1,”total”:1,”records”:1,”rows”:[{“id”:”1″,”cell”:[“1″,”0″,”\/”,”main”,””,”index”,””,””,”Y”,”Y”,0,null,”true”,”false”]},{“id”:”16″,”cell”:[“16″,”0″,”test”,”pages”,””,”index”,”\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430″,””,”Y”,”N”,0,null,”false”,”false”]}]}

  4. March 1st, 2011 at 17:51 | #4

    Thanks. Maybe I see where is the problem.
    Will investigate it more and let you know.
    It is better to post such things into the forum.

    Tony

  5. March 2nd, 2011 at 13:16 | #5

    The response you give me is not correct.
    I have defined a grid with these 5 fields and with some formatting get the original response string from you.
    Also you tell me you have 5 fields, but in your response there are more than 5 fields.
    Please send at may mail a real test case so that I can see what is, otherwise I can not help

    Regards
    Tony

  6. pro85
    March 2nd, 2011 at 16:58 | #6

    Soryy Tony.
    A post colums from enother grid.
    I have 10 columns for this response.

  7. March 3rd, 2011 at 10:47 | #7

    Hello,
    Adding 5 more columns to this work for me perfectly. If you want I can post a demo.

    Tony

  8. pro85
    March 3rd, 2011 at 11:10 | #8

    Hi Tony.
    The problem is that i have not expand icon.
    U can expand columns?

  9. March 4th, 2011 at 22:00 | #9

    Hello,
    As I say I have used your response. The icon fild actually is not needed.
    Regards

  10. March 8th, 2011 at 13:27 | #10

    This concept is not effective when the data is relative big. In such cases the TreeGrid throw a exception. Thanks buddy!

  11. Lee
    March 11th, 2011 at 00:02 | #11

    Hi,

    You say that keyboard navigation is in development – do you have any more detail?

    When do you think it will be out?

    Lee

  12. kekke
    March 30th, 2011 at 00:11 | #12

    “we have realised (under development) a keyboard navigation” รขโ‚ฌโ€ I believe you meant “we have started to develop a keyboard navigation module” or something like that.. the verb realise means to become aware of something ๐Ÿ™‚ where are you guys from? great plugin for jQuery btw, I’ve been using it for almost 3 years and it’s been a success.

  13. kekke
    March 30th, 2011 at 00:12 | #13

    realize*

  14. ali zaidi
    March 31st, 2011 at 16:07 | #14

    is there is any way i can drag column(tree node with a column name) from tree and drop to grid columns area between specific columns it will dynamically add column at the drop position to grid and rebind data again with column

  15. Gharbi
    April 1st, 2011 at 23:41 | #15

    Hi,

    I have a serious problem with form editing. When the form is shown, the curent row of grid is not mantained selected! Why?

    Thanks

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information