Hello,
Without providing the link to the problem can not help. I feel that the grid css is not loaded – or at least the path to the css is wrong. Check this in FireBug – Net tab
Regards
Tony
Hello,
Could yo please post your jqGrid configuration or provide a link to the problem.
Regards
Tony
Hello,
Thanks. Discussed here, but it is not good solution. Try to have a initially vertical scroll in FF – i.e have 100 rows loaded and set the height of 150.
Regards
Tony
Hello,
Not sure that I can help on this.
Another possible solution is to get this result before/after creation of the grid and convert the values in a way that they can be set in editoptions value
Hello,
Not sure what you mean . There is a method footerData which can set and get this data.
Regards
Tony
Mark,
Thanks.
Also some other events should be converted to this calling format and of course documented.
Tony
Hello,
Try to implemet the following logic for the 3 grids:
Create the grid initiallly with datatype local and then set the data type to json and trigger with setTimeout – i.e.
$(“#grid”).jqGrid({
…
datatype:'local',
…
});
$(“#grid”).jqGrid('setGridParam',{datatype:'json'});
setTimeout(function(){$(“#grid”).trigger(“reloadGrid”)}, 100 );
Regards
Tony
Hello,
Look at datefmt option in the docs
Regards
Tony
Hello,
If you look into the docs you will see that when using json ot xml string the data automaticalli is set to local after reading the data.
Local searching and pagination is not supported in this release. It is planed for 3.7 release.
Best Regards
Tony
Hello,
IMHO – Ideally is to add custom sort type, which I think can be done.
Regards
Tony
Hello,
This can be done and if I can remember it is discussed into the forum.
Anyway – use the the beforeShowForm in edit mode something like this:
beforeShowForm : function (formid) {
$(”#pData, #nData”, formid).hide()
}
where pData and nData are the id's of these buttons.
For the second.
Sorry this is not documented and I apologize for this.
When using custom_value in form editing to this function are passed 3 parameters
custom_value(cellobject, action, cellvalue)
where action can be set or get. Default is set. So in your case:
function getLabelValue(e, action, textvalue) {
if(action == 'get') return e.innerHTML;
else if(action=='set') $(e).html(textvalue);
}
I will update the documentation
Best Regards
Tony
Edit: It is a good idea for label type 🙂
Hello,
Maybe if you reored the call you will have the neded result i.e. cal getGridParam before remapColumns.
Regards
Tony
Hello,
Here is some exmple. Also I have added some other things into the docs.
Actually you can use the beforedrop event.
Here is a little example from my project:
Hello,
The name of the column is constructed as:
If the th element has id the name becomes the id, if this is not true the name is the html content of the th element.
You can see what names you have simple using getGridParam with colModel and print the names.
Best Regards
Tony
Hello,
try this
$(”#mygrid”).jqGrid({
…
datatype : 'local'
…
});
$(”#mygrid”).jqGrid('setGridParam',{datatype:'json'});
The grid initiallly will load with no data and after that can accept any request.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top