Forum
19:00
25/06/2011
Hi --
I'm a development manager and am new to the jqGrid. Part of my team is using the ExtJs library and grid for some of its pages and their business users have dictated that grids must have a consistent minimal behavior. But I would like to have the flexibility to have other team members program with JQuery and jqGrid. I'm wondering if it is possible with jqGrid to add the column dropdowns that the Ext grid has for sorting and filtering options. Has anyone worked yet on manipulaing jqGrid into a state where it could be used in the same sites as ExtJs pages without presenting too drastic a departure from the behavior of the ExtJs grid?
Any insights on this would be greatly appreciated. Thanks.
Mike
13:50
25/06/2011
I have a little more specific a request. Here's a list of the features that my developer says we are using with the ExtJS grid. I will eventually get the time to plow through the jqGrid documentation and associated discussion. But in the meantime if anyone can verify whether people are doing the following with the jqGrid I would be most appreciative (the first few items are obvious ones and I know from just looking at our own use of the jqGrid that it capable of these):
1: Columns are Sortable
2: Each Column has a filter on it(Can apply multiple filters at the same time)
3: Remote Paging
4: Columns can be moved around, Hidden or made visible
5: Columns can be resized
6: In Row Editing and Saving
7: Multi and Single row select
8: Grid expands to fill page or container
9: Grid has its own scrolling mechanism
10:Columns can be locked in place so they don’t move when grid is scrolled.
Just a quick yes,no,maybe would be really helpful in guiding me at a high level. Thanks for any attention anyone can give.
Regards,
Mike
11:52
Moderators
30/10/2007
Hello Mike,
Thank you for the interest.
As you can imagine jqGrid can not cover all the things in ExtJS and vice versa.
I thing the grids should have diffrent approaches for solving certain problems.
The grids should be different.
Instead tey should have common properties.
Shortley here are may answers if I understand them right
And you can look for the most features in jqGrid here:
http://trirand.com/blog/jqgrid.....qgrid.html
1. Yes
2. Depend - if you want a ExtJS style no, but you can use advanced search see demos
3. Yes
4. Yes
5. Yes
6.Yes
7. Yes
8.Yes
9.Yes
10.No.
Kind Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
18:49
25/06/2011
Tony --
Thank you very much for taking the time to reply; I can only imagine how insanely busy you must be. I will be pursuing this general question with my team over the next several weeks and will report back to the forum anything interesting that I learn along the way.
One question I would like to pose up front is whether it is insane to think of trying to decorate the existing jqGrid with an extJS-like dropdown in each column heading, where some of the functionality I identified in my last message can be handled in the way we want and triggered from a single place. Not having looked into the jqGrid code yet at all and so not having a sense of how much effort such a tactic might involve, I would be extremely appreciative to just get a gut-level ruling from some of you more experienced jqGrid folks as to whether such a move seems "doable" enough to merit further investigation.
What I'm thinking in general is of slapping onto each column heading a drop-down symbol that when clicked would present a popup menu with selections (a la ExtJS) like "Ascending", "Descending", "Filters", "Columns", etc... The handlers for each of these would then manipulate the undrlying grid programmatically to implement the desired functionality. This seems theoretically possible, but I'm wondering if in acutality it would be too difficult.
Thanks for any insight anyone can provide.
Regards,
Mike
tony said:
Hello Mike,
Thank you for the interest.
As you can imagine jqGrid can not cover all the things in ExtJS and vice versa.
I thing the grids should have diffrent approaches for solving certain problems.
The grids should be different.
Instead tey should have common properties.
Shortley here are may answers if I understand them right
And you can look for the most features in jqGrid here:
http://trirand.com/blog/jqgrid.....qgrid.html
1. Yes
2. Depend - if you want a ExtJS style no, but you can use advanced search see demos
3. Yes
4. Yes
5. Yes
6.Yes
7. Yes
8.Yes
9.Yes
10.No.
Kind Regards
Tony
01:00
25/06/2011
One more addition to my message above. I've begun to look at possibly trying to ovverride the OnSortCol handler and make use of the fact that jqGrid already has an icon that appears in the header when a column is selected. My general notion is to suppress the default sorting behavior by returning stop from this handler override and use my handler to display the popup menu I discussed above. (One of the functions available would be the grid sorting that I suppressed.) I'm going to try this in the next couple days and see what comes of it. But if in the meantime anyone has any thoughts about the likely success or failure of such a technique, I would love to hear them.
Thanks,
Mike
Most Users Ever Online: 715
Currently Online:
75 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66