Strange. Let us know what browser, platform, version of JqGrid, etc. you are using for this one. Also, it could be associated with the order in which you are loading your style sheets. Anything in firebug that's telling? If you can, add another component (like a simple accordian) into the same page and see if it displays correctly or not. That can help narrow the cause.
Thanks, John…
I'm still having trouble with this, though.
Not directly, but you can use jsonReader to match up your returned data to the data expected by the grid. See /jqgridwiki/doku.php?id=wiki:retrieving_data#json_data
For resizing there's an existing add-on I found that works well for me:
http://stevenharman.net/blog/archive/2009/08/21/creating-a-fluid-jquery-jqgrid.aspx
Maybe you could use this until Tony completes his own implementation.
tim
Have you added styles, other then ui.jqgrid.css and the redmond ui files? If not try adding
html, body {
font-size: 75%;
}
Hope this helps.
snorkel said:
Hi,
I just installed the latest stable version using the redmond theme and it does not look like the example grids at all, the fonts are
huge and the pager has weird artifacts.
Here is a screen shot of what I mean:
http://www.milwaukeesoft.com/grid_example.png
I looked through the css for the themes and didn't see anything weird.
Has anyone else seen this?
This is of course a working solution, even though the columns don't get stretched if the grid is empty, but that's not a big problem:
function checkTotalColumnWidth(){
Hi,
I'm also having problems with 960 grid system (not the original 960 but downloaded from http://designinfluences.com/fluid960gs/).
It has 5 additional CSS:
reset.css
text.css
960.css
layout.css
nav.css
It seems that if I remove the reset.css and layout.css the grid looks ok.
Please see this image: 
I'm using these code for the grid setup:
If you tried another theme, make sure you left out the option altClass: 'altRow', because the jQuery Theming uses a default altClass, which is different from 'altRow' (something like ui-second-priority). Try the theme UI Darkness as Rumen said, because in smoothness and Redmond the alternating rows are not or hardly visible.
If you have Firefox web developer extension installed, check the generated source of your jqgrid by right clicking your page: Web Developer – View Source – View generated source. There you can see if the CSS classes are added to the alternating rows of your jqgrid, and also what the name of the class is.
Thanks for your answer, Tony!
Oh, what a fail.. :$ First time programming on JS, so sorry… But, the problem is the same, my full code is that:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
The problem is only after post to server, firebug gives me after 30ms a print response after edit on database of the server, so is a client problem. GET for take the data to show on JQgrid is fast, so, the problem is only while editing, after post on editurl. I don't know what to do :S
Mess around with the CSS. Very small differences to the CSS can suddenly make it work. Try the exact CSS I gave you, it worked for me in combination with altClass: 'altRow'.
Sorry, i can't edit my previous post, but on Opera 10, my JQgrid run prettygod… i've googled a lot, but i don't found nothing 🙁
tgueth,
You don't only have to add the CSS I gave you, but in your grid config you have to add this as well:
altClass: 'altRow',
altRows: true
Sorry for bringing up an old post, but I also have this problem.
The last column of the grid can be made smaller, but I can't make it wider! Because if you want to make it wider, you're dragging further than the grid is wide.
I'm using jqgrid 3.5.3. The problem occurs in IE, Firefox and Chrome (haven't tested in any other browser). I suppose there is a simple solution for this? I have shrinkToFit set to false.
This might be due to the theme you're using. Try adding altClass: 'altRow' and then add something like this to your css file:
.ui-jqgrid .altRow td{background-color: red;}
If this does work, then the problem was theming.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top