Hi nico,
Thank you for this. I think that this is not a bug. The problem is that you set in the colModel some value to “true” instead of some_property:true.
I think that the correct way is this:
hc = (cM.hidden==true) ? true : false;
sf = (cM.search==false) ? false: true;
three lines checking is strick.
Regards
Tony
I notice – you try load jqGrid twice. Either edit jquery.jqGrid.js to point to right directories and renove …grid.jqGrid.js.. from src, or simly load only grid.base.js and grid.subgrid.js but not the both.
Also check the right paths in jquery.jqGrid.js
http://localhost:81/js/grid.base.js 213 bytes – this is not true – the size is about 35K
Regards
Tony
Hi,
Try this
jQuery(“#list2”).jqGrid({ url:’http://localhost:81/admin/person/view1′,
datatype: “json”,
….
I.e point to the full path to port 81.
Regards
Tony
Not sure that this will help, but if you make a external request with jQuery via ajax and then pass this request to the jqGrid you should terminate the request – i.e if the variable is my_request you shoild make my_request = null. Also this is common technique – if you look in jqGrid code every request after success is terminated.
Regards
Tony
Sorry – there is a missing part here – the working example should be:
$(“#mgrid”).setGridParam({datastr:the_new_string_here, datatype: ‘xmlstring’}).trigger(“reloadGrid”);
This is since after reading the xmlstring the datatype is set to clientSide which should be replaced.
Regards
Tony
If you use xmlstring one possible solution is:
Load the grid initially with the xml string data
Then after every 15 sec you can do
…..
$(“#mgrid”).setGridParam({datastr:the_new_string_here}).trigger(“reloadGrid”);
…
Sachin Mittal,
Thank you – added;
This resolves another bug in Safari3 too.
Regards
Tony
Hi,
You can publish code within code tags. See Some XHTML is allowed when you post here.
Do not known what is happen. If the ESC key work, that mean that maybe you bind your own Enter key, or there is another event that prevent Enter key. Simply to test. Try first it without any special binding or functions like onclick and etc.
Regards
Tony
Hi,
You can look for this in Examples : Advanced->Grid as Subgrid
Please read a documentation on how to realize this.
This is not a feature, but implementation
Regards
Tony
Do not known which version do you use, but look at end of code for moseover and mouseout even
The lines begin with
...
td = (e.target || e.srcElement);
...
Below this code you can comment
td.title on boot events.
Possible solution
Search for a formatColl function and add the needed title. Maybe you will need to extend a colModel for this work, or find a better solution 🙂
Regards
Tony
Will try to correct this as soon as possible
Tony
Hi,
Reason for this is that we do not known that this column will be late shown using the showCol method. I will think about this problem.
You can resolve this confusion when you set a common width of the grid using the width parameter. In this case the hidden fields are not recalculated.
Regards
Tony
If you mouseover of the cell the tooltip is the content of the cell. Currently there is no way to do what you want so easy. One possible solution is to disable the current action when we mouseover and to use formatCol function.
Regards
Tony
Ton,
I do not understand what you mean. There are method for destroying and unloading the grid.
Regards
Tony
Actually these methods construct a form. The name is taken from colModel. Whet you post is a pair name:value. In addition is passed and idrow and type of operation. See documentation for more details.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top