Questions tagged [struts2-jquery-grid]

Struts2 jQuery Grid Plugin. Provides support for the jQuery Grid tag.

The plugin provides a GridTag that renders a Grid. The Grid Tag is provided by the jQuery Grid Plugin (jqGrid) which struts integrates and provides tag library for.

The reference to the project and the sources with examples on the google code site http://code.google.com/p/struts2-jquery/wiki/GridTag

87 questions
0
votes
1 answer

ParamQuery ColModel not displaying correctly

I would like to request assistance to verify a behavior of ParamQuery Library, I am not sure what can be related to: I am trying to implement a ColModel based on each week of the year, this ColModel is dinamic and will change based on the year since…
CrisAlfie
  • 111
  • 13
0
votes
1 answer

jquery grid results in "Could not find action or result" in struts2 when data is present

I was having working project but after upgrading java, tomcat and few libraries one of inner jquery-grid stopped working. (yes, outer one "jsonPatientAppointments" is still working) If there is no data in that case it is not throwing any error but…
user1907867
  • 3
  • 1
  • 5
0
votes
1 answer

How to enable HTML tags in Jquery Grid Columns Dynamically

I need to enable the HTML tags in Jquery Grid Columns Dynamically. How can i do this. My code is jQuery("#jqgrid").jqGrid({ data: $scope.jqgrid_data, datatype: "local", height: 'auto', sortable: false, …
Karthik KM
  • 33
  • 2
  • 10
0
votes
1 answer

jqGrid show a large column as a row

We are using struts 2 jquery grid 3.7.0 plugin which uses jqGrid 4.6.0 The grid has one column which has very large data, is it possible to show this large column as a row. Like below Although it seems like grouping but it is not. I wonder if it is…
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
0
votes
0 answers

Dynamic filter in JQGrid

My goal is to do a dynamic filter on my jqGrid. The expression looks like : (A OR B) AND ( C OR D OR E ) AND ... So, I created a global filter, with the "AND" clause and sub-groups with "OR". The code: var globalFilter = { groupOp: "AND", rules: [],…
0
votes
2 answers

jqGrid show an 'edit' icon for in line editing

I am using the jqGrid with inline editing option. I want to show an edit icon if the cell does not have any values. So I write a formatter: function aFormatter(cellvalue, options, row) { if(cellvalue == null){ return…
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
0
votes
1 answer

Struts 2 jquery grid plugin set summaryType

The strust 2 jquery grid plugin does not support summaryType for columns, as a work around I try to set it as: $("#gridtable").jqGrid('setColProp', 'amount',{summaryType:'sum'}); This does not work at the first time. But after reloading the grid,…
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
0
votes
1 answer

sjg:gridcolumn edit rule for decimal number

The above has to be a 7,4 decimal number basically with 3 digit max number and 4 decimal places. how to set this rule in the grid column?
user3761541
  • 157
  • 2
  • 20
0
votes
1 answer

sjg:grid with select with options =,<,> shows undefined

Have sjg:grid in the jsp. Trying to add a column with a dropdown with options shown as =,<,> . But, in the dropdown it shows as = undefined < undefined undefined etc... . How to get these option into the grid column dropdown. I tried the…
user3761541
  • 157
  • 2
  • 20
0
votes
1 answer

jqGrid Reload Filter Values After .trigger("reloadGrid")

I have a jqGrid where I have local filter/sort capability enabled. I am reloading the grid (from the server) when a custom refresh button is clicked which calls .trigger("reloadGrid") after I set the datatype to JSON. The reload is successful,…
0
votes
1 answer

jqGrid Refresh From Server Issue

I have a Struts2 jqGrid page that loads fine. When the navigator refresh button is clicked I want it to reload the grid from the server.
0
votes
1 answer

Struts2 jqGrid Bind afterclickPgButtons to Edit Dialog

I have a struts2-jquery jqGrid page with a grid that uses the event dialog boxes. I'm trying to bind the event afterclickPgButtons to the edit dialog. I can bind events to the entire grid (gridTable), but I'm having issues binding the event to the…
user3420328
  • 53
  • 1
  • 9
0
votes
1 answer

jqgrid .trigger('reloadGrid'); doesn't work with multiple grids

I have a jqgrid prepopulated with data. Clicking on any row will send 4 ajax requests to fetch the details (4 jsp pages get loaded). 3 pages has new jqgrids in that. I have an external search and clear option on the first grid (jsp page). It…
0
votes
0 answers

Struts 2 jquery grid Edit dialog box issues

I am facing one issue in Struts2 jquery grid plugin: if I click on add navigator button on grid panel the add dialog box is opening perfectly fine but after clicking on add when I clicked to edit button... the same add dialog box is opening…
0
votes
0 answers

Column header a link which opens a dialog box

I am unable to create a sub grid column header as a link to another window. Here is a sample of my code: //Function which builds the hyperlink function buildGridAllUploadURL(cellvalue, options, rowObject) { var val = options.rowId; …