Hello Tony,
I suppose that the effect will exist only on scaling >144%, but it is not so important. It's important just that the value of testCell must be not exactly equal to 5. So one have to adjust the code so that some intervals of values, which are close to 5, will be interpreted in the same way as 5.
Regards
Oleg
You are right Tony, the usage of $.jgrid.jqModal || {} is definitively better.
Regards
Olge
Tony,
I agree, that the usage of em instead of px would have many advantages. I am afrade that the changes can be not so simple. One have to change many height, margin and padding settings (but not all because in some situations icons with fixed pixel size are used).
My suggesting was about the first small step to improve CSS which uses jqGrid. jqGrid use not only own styles, but also jQuery UI CSS framework. So have have to take in consideration the standard jQuery UI CSS.
The line
.ui-jqgrid {position: relative; font-size:11px;}
from ui.jqgrid.css set font-size on the gbox. On the other side gbox div uses ui-widget ui-widget-content ui-corner-all classes too. Because of usage of ui-widget
Sorry, Tony, but the links which you posted can't be read.
Could you provide the demo which can be used to reproduce the problem?
It's a pity that forum not automatically subscribes the topic where one write an answer. If one forget to manually subrcribe it one can easy escape from the discussion in the topic.
In any way I'm glad to read that the problem is solved and even the fix is found. It will be good for other users.
Best reagards
Oleg
Like corrently mention
Hallo Tony,
I named my suggestion at the beginning as quick and dirty solution, so I full agree that it would be fine to find in the future more better way. Nevetheless I don't think that the code which you wrote above will work correctly.
The first problem with above code is that ts.p.cellLayout can be set to 0. So the width of the table will be also 0. You fixed already the problem in the code of
Hi,
I think that the origin of the problem is a litte another as you described. I see the main problem is that .trigger('click') follows to call of populatesubgrid, which use test for ts.grid.hDiv.loading (see the line of code) like in the most other places of jqGrid where $.ajax are called.
Could you provide any small demo which can be used to reproduce the problem.
The main idea if implementation of searchOnEnter option on a multiple search was trigger to change focus
In such kind of questions you should alwas include the code of jqGrid which you use and include at liast one row of data which you use. For examle do you use gridview:true option of jqGrid? You can make grid slowly by some actions in the loop inside of loadComplete or gridComplete.
Best regards
Oleg
I wrote you before, that you posted in the wrong forum.
Additionally you should remove jquery.ui.core.js and jquery.ui.datepicker.js which you have currently after jquery-ui-1.8.20.custom.min.js. The file jquery-ui-1.8.20.custom.min.js includes already minimized version of jquery.ui.core.js and jquery.ui.datepicker.js inside.
Best regards
Oleg
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top