Same.
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.0.14) Gecko/2009082706 Firefox/3.0.14
tony said:
Hello,
Do not understand. Describe your problem again.
Regards
Tony
I have some fields in a grid that are not editable, however, when the user adds a new row to the grid I need some of those non-editable fields to appear in the form.
TIA
you have to set theses options in the navigator options array like so:
I also see this problem on the jqgrid 3.6 demo. I used Firefox 3.0.14. When you move a few rows, suddenly the width of the columns is different from the width of the header columns.
@Varta: I’ve got the same problem. I try to populate a second select with the result of a first one. Anybody help me?
My code:
//PAIS (Visible)
{ name:’pais’,
index:’pais’,
width:90,
align: “center”,
// — Edición —
editable:true,
formoptions:{elmprefix:”(*)” },
editrules:{required:true},
edittype: ‘select’,
editoptions: {
dataEvents: [{
type: ‘change’,
fn: function(e) {
var codpais = e.currentTarget.value;
var prov = $.ajax ({
url: ‘dbprovincia.php?p=’+codpais,
async: false}).responseText;
$(“#grid”).setColProp(‘provincia’, {editoptions: {dataUrl: prov }});
}
}],
dataUrl: ‘dbpais.php’,
defaultValue: ‘España’,
},
},
//PROVINCIA (Oculto)
{ name:’provincia’,
index:’provincia’,
width:90,
align: “center”,
// — Edición —
editable:true,
hidden: true,
formoptions:{elmprefix:”(*)” },
editrules: {edithidden: true, required:true},
edittype:’select’,
editoptions: {
dataUrl: ‘dbpronvicias.php’,
},
},
Thanks!
yes this is very strange.. and no I am not using iframes
Hi Tony, thanks for reply.
I have seen both code examples before and neither work properly (access), mssql link has it's limits.
select * from mytable limit 10, 20
Start from record 11 and give us the next 20 records (11-30)
In Access and MSSQL your example will not start from a given record point, for example if we have 12000 records like the bigset examples, then doing:
select top 20 *
from
(select top 30 *
from tblInvoice
order by invid)
order by invid asc
will always give us records 1-20
tony said:
Hello,
Read carfully – the missing DOCTYPE causes this.
http://www.trirand.com/jqgridw…..to_install
Regards
Tony
Thank you Tony. The problem is solved.
It's funny how a single simple line can make all the difference.
I must confess that I'm not used in paying to much attention to DOCTYPE and META tags…
Regards,
Carlos
Hi Tony!
Have you gotten around to fixing this bug yet? It still occurs to me with the Git 3.5.3 Version.
Greeting, Hannes
I saw it, but i'm sending automatically-generated json data from a PHP class to generate the grids, and the json parser can't send functions, so it would be more helpful for me the regexp option because it's only string-based.
Anyway, it's just an idea, if you think it's unnecessary, I can implement it by myself.
Thanks for all!
Hi,…
got the same problem… but jgrid demo seems works fine… the problem only appears when I run my own code. Has this is the code
jqGrid Demo
Hello again.
In my prior post I say that that modal
John said:
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.
I have the same problem.
The page counter in pager has a small height.
http://www.carlosvita.com/jqgrid.jpg
This is a simple page without any extra CSS.
First I load the “redmond/jquery-ui-1.7.2.custom.css”
Then the “jqgrid/css/ui.jqgrid.css”
My Browser is Firefox 3.5.3 on Linux, but testing with Firefox on Windows I get the same result.
Internet Explorer 6 produces simillar result, having the page text box too smal but aligned to the bottom, like the screenshot that Snorkel showed us.
Carlos
So, I ran into this same problem and it's actually because of a bug that exists if you pass an undefined parameter into the format method …
Inside of grid.base.js, you'll see the format method on jgrid … if you add a check for an undefined value then it works.
format : function(format){ //jqgformat
var args = $.makeArray(arguments).slice(1);
if(format === undefined) format = “”; //Add this line and it's fixed
return format.replace(/\{(\d+)\}/g, function(m, i){
return args;
});
},
– Chris
Sweet!
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top