Forum
16:35
12/05/2010
Hello, great grid!
With IE8 and jqGrid 3.6.5, the second filter received by the server is "op":"undefined". With Firefox, the second filter is correct.
Here are the IE8 filters received by the server:
[filters] => {"groupOp":"AND","rules":[{"field":"date_time","op":"eq","data":"05/07/2010"},{"field":"source","op":"undefined","data":"B"}]
Here is the grid definition:
<script type="text/javascript">
jQuery(document).ready(function($) {
url_id = 'query.php?_name=prices&_type=jqGrid_XML&ins_no='+ins_no.value;
price_codes = $.ajax({url: 'query.php?_name=prices_codes&_type=jqGrid_Value',
async: false}).responseText;
function defaultPriceCode() { return 'C'; /* Close */ }
function defaultSource() { return 'M'; /* Manual */ }
$("#prices_grid").jqGrid({
caption: 'Prices',
url: url_id,
editurl: url_id,
colNames:['Date','Price Code','Source','Price'],
colModel :[
{name:'date_time', index:'date_time', width:110, editable:true,
editrules:{required:true}, edittype:'text',
editoptions:{maxlength:10, dataInit: datePick},
stype:'text', searchoptions:{dataInit: datePick}},
{name:'price_cd', index:'price_cd', width:150, formatter:'select',
sortable:false, editable:true, editrules:{required:true},
edittype:'select', editoptions:{value:price_codes},
stype:'select', searchoptions:{value:price_codes,
dataInit: function(elem) { $(elem).val(defaultPriceCode()); }}},
{name:'source', index:'source', width:200, formatter:'select',
sortable:false, editable:true, editrules:{required:true},
edittype:'select', editoptions:{value:sources},
stype:'select', searchoptions:{value:sources,
dataInit: function(elem) { $(elem).val(defaultSource()); }}},
{name:'price', index:'price', width:110, editable:true,
editrules:{required:true, number:true}, edittype:'text'}],
pager: 'prices_pager'
});
if(ins_no.value.length > 0) {
$("#prices_grid").navGrid('#prices_pager',
{refresh: true, edit: true, add: true, del: true, search: true},
{ // edit options
beforeShowForm: function(formid) {
// disable keys
for(var key in {'#date_time':1, '#price_cd':1, '#source':1})
$(key,formid).attr('disabled',true);
},
afterSubmit: afterSubmit,
closeAfterEdit: true
},
{ // add options
beforeShowForm: function(formid) {
// enable keys
for(var key in {'#date_time':1, '#price_cd':1, '#source':1})
$(key,formid).removeAttr('disabled');
// default values
$('#price_cd',formid).val(defaultPriceCode());
$('#source',formid).val(defaultSource());
},
afterSubmit: afterSubmit,
closeAfterAdd: true
},
{ // delete options
onclickSubmit: function(eparams) {
var rowId = $('#prices_grid').getGridParam('selrow');
var row = $('#prices_grid').getRowData(rowId);
return {date_time: row.date_time, price_cd: row.price_cd, source: row.source};
},
afterSubmit: afterSubmit
},
{ // search options
closeAfterSearch: true
}
);
}
});
</script>
<table id="prices_grid"></table>
<div id="prices_pager"></div>
Thanks!
Brian
17:34
Moderators
30/10/2007
Hello,
This is a old issue. Which version do you use?
Also I think that this hapen under some IE configurations, but do not know how to detect this.
Is this situation from the same IE in the trirand demo?
Best Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
17:56
12/05/2010
Hello,
Grid version 3.6.5 downloaded yesterday from http://www.trirand.com/blog/?page_id=6
IE version 8.0.6001.18702
Thanks!
20:51
Moderators
30/10/2007
Hello,
What about my second question?
If you use the same browser in the trirand demo page - advanced serching example does this occur?
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
21:58
12/05/2010
Hello,
With IE8, all the advanced searching examples work at http://trirand.com/blog/jqgrid.....sp;however, the examples don't test multiple criteria using the search dialog box.
With IE7, the second filter is also "op":"undefined".
jQuery UI version is 1.8.1
Thanks!
22:02
Moderators
30/10/2007
Hello,
Please open the demo, the select New in version 3.5 and then select Advanced Searching
Thank you.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
18:44
Moderators
30/10/2007
Hello,
What you mean with - "Does not load"?
Also in order to investigate the problem could you please prepare a simple example and make a link to it or send me to a e mail.
Thank you
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
17:21
12/05/2010
Hello,
With jqGrid-3.5.3, jQuery-UI-1.8.1, and IE8 or IE7 or Firefox: the grid says "Loading...", but the initial data neverever loads.
With jqGrid-3.6.5 and everything else the same: the initial data loads, but advanced searching fails because the second filter is "op":"undefined".
Prior to jqGrid-3.5.3: the grid worked great loading initial data and advanced searches.
Not yet tested the latest jqGrid-3.4.4 with jQuery-UI-1.8.1
Unfortunately, there is no public link to this system because it is on private network and the whole code is too difficult to e-mail.
With jqGrid-3.5.3: below are the link references and error messages from IE8
<!-- jQuery UI from http://jqueryui.com/download
Message: 'ts.p.colModel[...].name' is null or not an object
Line: 10
Char: 10946
Code: 0
URI: http://atlantis/price/jQuery/js/jquery.jqGrid.min.js
Message: 'ts.p.colModel[...].name' is null or not an object
Line: 10
Char: 10946
Code: 0
URI: http://atlantis/price/jQuery/js/jquery.jqGrid.min.js
Message: 'ts.p.colModel[...].name' is null or not an object
Line: 10
Char: 10946
Code: 0
URI: http://atlantis/price/jQuery/js/jquery.jqGrid.min.js
Message: 'ts.p.colModel[...].name' is null or not an object
Line: 10
Char: 10946
Code: 0
URI: http://atlantis/price/jQuery/js/jquery.jqGrid.min.js
Message: 'ts.p.colModel[...].name' is null or not an object
Line: 10
Char: 10946
Code: 0
URI: http://atlantis/price/jQuery/js/jquery.jqGrid.min.js
Thanks!
14:06
Moderators
30/10/2007
HEllo,
Will be happy if you put here the whole page including DOCTYPE declaration and grid configuration
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
10:53
Moderators
30/10/2007
Hello,
Zip the page and send to my e mail: tony at trirand dot com
Thanks
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
18:59
12/05/2010
Most Users Ever Online: 715
Currently Online:
43 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66