The problem is well known and it's fixed in the code on the github (see here for example). The most problem which I see is that it was not published 4.3.2 or some over version higher as 4.3.1.
If you just search in jqGrid forum for “toarr” string for example you will see how many times the same bug was reported only on the trirand forum. It would be nice if Tony would publish next jqGrid release.
Best regards
Oleg
I personally find such change good. It remind me on my old suggestion
I find this a good idea. The file jquery.ui.core.js of jQuery UI for example contains (see here)
$.extend( $.ui, {
It's the feature of the tableToGrid. It will be used to import information about selected rows (see the source code).
I recommend you to create jqGrid directly instead of converted information from the HTML table to jqGrid. You data contains the values with numbers. In cases that grid contains not only pure strings you will definitively have advantages in the usage of jqGrid directly. See the answer for example for some additional information.
Best regards
Oleg
Hello Tony,
I posted the pull request
Hello Tony,
in the pull request I posted one of the possible implementation of the feature.
Best regards
Oleg
P.S. When you plan to publish new version of jqGrid?
Probabably you have problem with caching the results of the previous Ajax request in Internet Expolrer. You can try to add
ajaxSelectOptions: { cache: false }
as additional option of jqGrid (see here).
Even more better if you would set “Cache-Control” HTTP header to “max-age=0”
Hello caradees,
You made many experiments to localize the problem and to find a workaround. One more test you can do if you suspect that
$(ts.rows.cells[pos]).bind('click', function(e) { /* SOME CODE HERE */ });
is the origin of the problem. The code set 'click' event on every '+' icon. The last line of the event handler is return false; which stop event propagation. If you remove (comment) the code you can use
onCellSelect: function (rowid, iCol, cellcontent, e) {
Sorry, was already in your previous test? In the case the problem should be another one. It is strange only why you deleted the line from the HTML code which you posted in your previous post.
Next which is not clear: do you have another results now after the usage of ? Is the problem with ui-darknes still exist?
What is additionally wrong in your code: you included first jquery-ui-1.8.17.custom.min.js and then you includes the same modules of jQuery UI as ui/jquery.ui.core.js and so on. You can either include jquery-ui-1.8.17.custom.min.js
You should never ever use pages without line before. In the simplest form it would be
Why you decide, that it's a bug? If no id is specified, jqGrid have to generate an unique id itself. By the way different versions of HTML and CSS have different restrictions to id attribute. For example how you can read in CSS 2.1 specification
You can use data property of the ajaxSelectOptions parameter of jqGrid see here and
Hello Tony,
tanks for your answer. Now I think I understand where the problem is. You use some specific PHP funcions which I don't know and I read only the documentation and follow strong it. The problem is that 1330249977 is not the time in miliseconds – it's time in seconds. It corresponds the “U” format. The format “u” is the time in microseconds, but JavaScript need the time in miliseconds. Moreover I find that the documentation of “u” format really misunderstandable. How I could read here
Hi Tony,
the constructor of Date with the number as parameter wait for milliseconds: “Integer value representing the number of milliseconds since 1 January 1970 00:00:00 UTC (Unix Epoch).”
Hello Sam,
the examples which I posted you before are all implemented in JavaScript. So you can use it if you want. I am not Java developer and not familiar with the implementation of Servlet/JSP or EJB session
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top