Tudor Malene
Tudor Malene
Now I understand. Your code looks correct. Can you check if you have some javascript errors in the console. Also, do a "view source" and post the relevant parts. If...
The problems seems to be that the custom JSON marshallers that easygrid registers in order to render the javascript , are for some reason not called. What version of grails...
Check :easygrid:1.6.7 It should work on your setup now.
Hi. Your controller code is ok. Except you don't need the externalParams. In the gsp you have to use some javascript: ``` ``` ``` function reloadWorkspaceGrid(){ var grid = jQuery("#workspace_table");...
Answer Q1: You can write the grid in this simplified form, and the plugin will generate default values for the filterClosures. ``` initialCriteria { join 'report.id' join 'report.event.id' resultTransformer Criteria.DISTINCT_ROOT_ENTITY...
To log sql queries: http://grails-dev.blogspot.co.uk/2013/06/how-to-log-sql-statements-in-grails.html For a grid with joins see: https://github.com/tudor-malene/grails-petclinic/blob/master/grails-app/controllers/org/grails/samples/VetScheduleController.groovy#L99 To see the json output, use the ${gridName}Rows controller method. Like this : http://199.231.186.169:8080/petclinic/overview/ownersRows?rows=10&page=1&sidx=&sord=asc
You can pass params to the grid by using `externalParams` ``` def yourGrid={ ... externalParams (['range1', 'range2', 'status']) } ``` As a matter of fact the link you mention is...
Unless you modify the _jqgridRenderer, you can't specify the url. By setting the externalParams, they will be passed on to jqgrid, from the parameters of the enclosing page.
Should be fixed in 1.6.9.1
Fixed in 1.7.1