-
Notifications
You must be signed in to change notification settings - Fork 12
Investigate use of colgroup #59
Comments
I agree with that the usage of The problem is that works not exactly how one want. One can apply only some small subset of specific CSS properties on visible columns. So the real help of |
It looks like you can style columns visibility - http://www.search-this.com/2007/04/11/styling-table-columns-with-css/ |
Yes, I just tried that with Oleg's jsfiddle: If you replace |
Have you tried "visibility: collapse" on Blink-based browsers? |
I've tested Oleg's fiddle with "visibility: collapse" on the latest Chrome and had no luck. Everything is OK on FF and IE. |
Hm, I guess you're right: Chrome (I tried 37) doesn't support that correctly |
Another option for improving rendering performance might be React: http://facebook.github.io/react/ Unfortunately, their core lib is 130Kb, almost as big as the entire jqgrid. But maybe we can borrow a few ideas from them |
Currently, if you set e.g.
hidden: true
incolModel
,style="display: none"
is added to each cell in the column. Performance might be better if we define acolgroup
instead, because then the runtime for setting these properties would be O(1) instead of O(n). Markup would then look like this:The text was updated successfully, but these errors were encountered: