Hello,
Can you please post you full code or send a link to the page that do this?
With this information we can not help.
Thank you
Kind Regards,
Will
Guriddo Support Team
Hello,
Thank you for this question.
Currently there is no typescript definition for jqGrid.
I hope we will do this ASAP, but before this we need to finish the mobile version and update the documentation.
We can expect this to be available at September this year.
Kind Regards,
Will
Guriddo Support Team
Hello,
We do not support stored procedures in query.
The reason is that we pass additional important parameters to the query which can not be used.
Moreover we modify the original SQL query so that we make paging sorting and etc.
One possible solution is to get the dataset from stored procedure and use the array driver to pass it to the grid. This of course will slow down the process of loading the data into the grid
Kind Regards,
Will
Guriddo Support Team
Hello,
In the current implementation the modal plugin try to focus on the first visible input element. We will fix this in the next release setting a option not to focus at all or to focus on certain input element.
Sorry that we can not fix this so quick, since it is not so easy to manipulate the modal plugin.
Kind Regards,
Will
Guriddo Support Team
Hello,
This is partially correct.
To work this you will need to pass the parameters to renderGrid too
|
1 2 3 4 5 |
... $grid->renderGrid("#detail","#pgdetail", true, $summaryrow, array(&$COL1,&$COL2), true,true); ... |
Kind Regards,
Will
Guriddo Support Team
Hello,
Definitely this is a problem with a focus in datetimepicker plugin.
The same problem does not appear when jQuery UI datepicker is used.
In order to solve the problem I suggest you 2 approaches
1. Try not to use setTimeout in the dataInit event (or set the timeout to 0)
|
1 2 3 4 5 6 7 8 9 10 11 12 |
$grid->setColProperty('date_at', array("label"=>"Date modif","align"=>"center", "width"=>190,"formatter"=>"date", "formatoptions"=>array("reformatAfterEdit"=>true, "srcformat"=>"Y-m-d H:i:s", "newformat"=>"m/d/Y H:i"), // Ok. We use some trick here to create the datepicer on dataInit event // when the element is created. Note the js: before the function. // this instruct the grid to put a javascript code without additional formating "editoptions"=>array("dataInit"=> "js:function(elm){ jQuery(elm).datetimepicker({dateFormat:'mm/dd/yy'}); jQuery('.ui-datepicker').css({'font-size':'75%'}); }") )); |
2. As you say move the date filed at 3 or 4 place in SQL Query.
Kind Regards,
Will
Guriddo Support Team
Hello,
Try to execute the query command in the SQL console in order to see if there is a error.
I’m not sure that your query is correct when use GROUP BY in a variable this way.
Kind Regards,
Will
Guriddo Support Team
Hello,
Version of jqGrid to 4.7 are MIT/GPL licensed.
If you want to use the jqGrid from version 4.7.1 for commercial purposes you will need to obtain a license.
Kind Regards,
Will
Guriddo Support Team
Hello,
Thanks for the feedback. This will be very usefully for other having the same problem.
Kind Regards,
Will
Guriddo Support Team
Hello,
At first look I do not see setting of primary key in the subgrids.
For the second and third level try to set setPrimaryKeyId
Also for easy debugging you can set in the last subgrid
$grid->debug = true;
ind see in the jqGrid.log file what is happen when you try to insert or update the record.
Kind Regards,
Will
Guriddo Support Team
Hello,
Sorry for delay. Here is the demo.
Please let us know if you need more advice on this example.
Thank you.
Kind Regards,
Will
Guriddo Support Team
Hello,
The version of jqGrid you use with Grails is too old. It is no more supported.
You can use the latest version of jqGrid, but we are not sure what will be.
In all cases you can try.
Please let us us know (in case you try) if everything is working as expected.
Kind Regards,
Will
Guriddo Support Team
Hello,
Yes, this is possible.
The idea is when the row is selected in a onSelectRow to get the data on the row columns and then pass it in the posData array.
This can be done something like this: (on Master)
|
1 2 3 4 5 6 7 8 9 10 11 12 |
$selectorder = <<<ORDER function(rowid, selected) { if(rowid != null) { rowdata = jQuery(this).jqGrid('getRowData', rowid); // suppose COL1 and COL2 exists jQuery("#detail").jqGrid('setGridParam',{postData:{COL1: rowdata.COL1, COL2 : rowdata.COL2}}); jQuery("#detail").trigger("reloadGrid"); } } ORDER; $grid->setGridEvent('onSelectRow', $selectorder); |
Then you can accept these parameters in detail PHP. See demo.
Kind Regards,
Will
Guriddo Support Team
Hello Carlos,
I’m very sorry to say this, but we do not support versions 3.x.
I hope that in some other newer versions this problem is resolved.
Please try to upgrade to the more newer version.
You can try with some 3.X versions.
You can download them from here
Scroll to the end of the page.
Kind Regards,
Will
Guriddo Support Team
Hello,
Glad to hear that everything is going as expected.
Kind Regards,
Will
Guriddo Support Team
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top