Hi
Please can you post up an example of drag and drop row sorting along with the callback for updating the database?
I would be very grateful.
Thanks, Graham
Hi Tony!
Thanx for the best jQuery datagrid plugin!
Are there any plans to implement multiselect for TreeGrid mode? As far as I can see it is still not implemented, right?
Or maybe someone can suggest some kind of workarrond (for example separate column with checkboxes with onclick events which will allow to select correspondent TreeGrid rows, is that possible)? That is very required for our project.
Merci beforehand,
Andrew TheBit Halyasovskyy
I fixed it:
in jqModal.js in line 41 open:function(s,t){…. change position:'fixed' to position:'absolute' and work fine
Georgi 🙂
Thank you in advance.
I use the latest version
3.5.3 and worked succeffuly
Thanks again for your answer.
Kostis
hi tony, thanks for answering.
Getting the initial onchange event to fire is not the problem that I am having.
up
Pete said:
I think the format should be:
editoptions: {value: “1:first,2:second”}
You have a “;” where it should be a “,”
No “;”
The editoptions value must contain a set of value:label pairs with the value separated from the label with a colon (:) and ended with(;). Whichever you use, something like the following
editoption: { value: “FE:FedEx; IN:InTime; TN:TNT” }
I repeat my question: when grid load first time …
OK, if I understand well, a 200 error means the request has succeeded.
You may use an tag as data for column.
Hi all! I'm now using dataUrl. It's succ works with XML.
My example here:
CGI scenario (perl)
my $cgi = new CGI;
print $cgi->header(“Content-type: text/xml;charset=windows-1251”);
print “”;
print '';
print “alfa romeo”;
print “ferrari”;
print “fiat”;
print '';
JavaScript:
{name:'car_name', index:'car', width:120, align:'center', editable:true, edittype:”select”, editoptions:{dataUrl:'cgi-bin/ccs_get_car.pl'}},
var id = $(“#grid”).getGridParam('selrow');
Hi,
I've worked out how to acheive this.
jQuery("#gridid").jqGrid({
...
I'm trying to just get the example to work.
I had tried to get the data evnts working correctly before Tony, but the last line of the documention suggested to me that once the element has been loaded, it won't bother making a subsquent request to the server : “The event(s) are called only once when the element is created”.
I think you just have to put the jqgrid property shrinkToFit: false. See the jqgrid documentation
| shrinkToFit | boolean | This option describes the type of calculation of the initial width of each column against with the width of the grid. If the value is true and the value in width option is set then: Every column width is scaled according to the defined option width. Example: if we define two columns with a width of 80 and 120 pixels, but want the grid to have a 300 pixels – then the columns are recalculated as follow: 1- column = 300(new width)/200(sum of all width)*80(column width) = 120 and 2 column = 300/200*120 = 180. The grid width is 300px. If the value is false and the value in width option is set then: The width of the grid is the width set in option. The column width are not recalculated and have the values defined in colModel. | true |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top