jqGrid TreeGrid SubGrid rewrite, code cleanup, keyboard navigation, jQuery 1.5.x tests
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.
Hi2all.
I update JqGrid to lastest from github.
But now not working treeGrid.
It’s bug or something changed in config?
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
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”]}]}
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
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
Soryy Tony.
A post colums from enother grid.
I have 10 columns for this response.
Hello,
Adding 5 more columns to this work for me perfectly. If you want I can post a demo.
Tony
Hi Tony.
The problem is that i have not expand icon.
U can expand columns?
Hello,
As I say I have used your response. The icon fild actually is not needed.
Regards
This concept is not effective when the data is relative big. In such cases the TreeGrid throw a exception. Thanks buddy!
Hi,
You say that keyboard navigation is in development – do you have any more detail?
When do you think it will be out?
Lee
“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.
realize*
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
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