New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frozen columns limitations #430
Comments
Could you describe your problem more exactly and provide your demo, which demonstrate your plans? I don't believe, that you want to use all above features in your grid. What exactly you need to do? The option Subgrid can be used in many ways: with local (previously loaded data), with data loaded via Ajax request, Grid as subgrid or as legacy subgrid (using |
Thanks for the answer, But I was not able to get the frozen columns work while the grid has a subgrid. Please see this fiddle http://jsfiddle.net/bozzoa/9zky1320/13/ Thank you again! |
Before writing any answer to you I want to clear which version of jqGrid you use (can use). You demo uses more as 4 years old jqGrid 4.6.0, which is not supported since many yeas. You use jQuery 1.9.1 published 2013-2-4 and jQuery UI 1.9.2 published 2012-11-23. Do you really need/want use the retro products? You posted the issue to "free jqGrid" - which is the fork of jqGrid 4.7. The current version of free jqGrid is 4.15.4. You can load it from CDN (here or here). Here you will find some demos inclusive JSFiddle demos. Additionally, you should never use |
Thank you again, Here's an updated version with recent libraries and the fixes you suggested: http://jsfiddle.net/bozzoa/9zky1320/27/ I hope this fiddle is correct. So I have one last question about the subgrids, is it possible to freeze some columns in a grid which contains a subgrid? using the same colModel for both grids in my fiddle, the top one is not getting freezed. Thanks for your time. |
It's too many implementation details, which should be took in consideration to use frozen columns with subgrids. It could be done by adjusting the code of subgrid module, but I'm busy not with other projects and can't do that now. I modified your demo to https://jsfiddle.net/OlegKi/9zky1320/75/ to shows you how one can use frozen column in the simplest case. Even the code required more additional synchronization in selections between selection of rows of frozen subgrid and selection of subgrid of non-frozen subgrid. One can prevent selection and hovering, but one will still have problems with inline editing (started by |
demo https://jsfiddle.net/OlegKi/9zky1320/75/ open subGrid then click header1 sorting |
Hi Oleg,
I'm trying to freeze some columns in my grid following these instructions
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:frozencolumns
but there are the following limitations:
Now I'd like to add these feature to a grid with inline edit( I'd like to only freeze non editable columns) and subgrids enabled.
Reading this answer http://www.trirand.com/blog/?page_id=393/bugs/frozen-column-impressions
and looking at the demo: http://www.ok-soft-gmbh.com/jqGrid/FrozenMultiselectColumns.htm
It looks like the inline edit is not a deal-breaker, is it possible to do something similar for the subgrid?
The text was updated successfully, but these errors were encountered: