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
2
votes
0 answers

edit inline control navigator buttons to display

Using the below sjg:grid with edit inline. This displays the edit navigator buttons Add New Row, Edit selected row, Save, Cancel row editing. I don't want to show the Add new row button in the navigator. How to do this?
2
votes
1 answer

struts 2 jquery grid plugin change only one column header style

Is it possible to change the style of only one column heard in grid ?! The sjg:gridColumn has a cssClass property, but setting this css will only be applied to rows under the column, not the column header. At JQGRID - Is it possible to change the…
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
2
votes
0 answers

Add custom text to jqGrid navigator buttons in Struts2-jQuery-Grid

I am using struts2 jqGrid. I have enabled navigatorSearch="true". So It shows the search button. I want to add a text to the button saying Search I read it here that I need to add the searchtext attribute to add custom text. But I dont know where to…
Pradnya
  • 649
  • 2
  • 6
  • 17
2
votes
1 answer

how to
tag in Grid Model in jsp from Servlet?

Output: In Fresh column has 0.0,0.0,0.0 is a 3 column Output i will concat from Servlet to jsp. In Grid table I want to show row by row.. Fresh __________ 0.0 0.0 0.0 ___________ 0.0 0.0 0.0 ___________ Like That... How to do it? My Jsp…
sathya
  • 1,404
  • 2
  • 15
  • 26
2
votes
2 answers

Struts 2 & jQuery grid, Retrieve the Grid Rows

I am using jQuery and jQuery Grid 3.5.1 plugin in my Struts 2.1.8 I want to retrieve the multiselected rows on button. I used onClickTopics for submit button.The jQuery code for retrieving grid rows is…
Jibran
  • 873
  • 7
  • 12
2
votes
1 answer

calculate the Sum of Column in jqgrid

hi i want to calculate the sum of column in my jqgrid "column montant" and display it under my grid like Total : **** under Montant column here is my grid :
djoStack
  • 177
  • 3
  • 18
2
votes
0 answers

struts2 jqgrid: onEditInlineErrorTopics not being called on error

On save of the jqgrid, the action catches a constraint violation exception and returns "error". However, the onEditInlineErrorTopics function is not called on the jsp. The exception needs to be translated to a user message saying "Duplicate…
1
vote
1 answer

Element type "struts" must be declared. at (null:26:9) org.xml.sax.SAXParseException in Struts 2 using JQuery Grid plugin

We are getting below error since today noon time IST. Application is working fine since few years but from today noon time it started giving this error. Element type "struts" must be declared. at (null:26:9) org.xml.sax.SAXParseException; systemId:…
1
vote
1 answer

Struts Jquery Grid load issue after upgrading Struts to 2.5.27 from Struts 2.5.22

Hi We have recently upgraded Struts2 from Struts 2.5.22 to 2.5.27 . In our application we are are using Struts Jquery Grid. We are using struts2-jquery-grid-plugin-4.0.3.jar library. One of our application need is to assign grid id a dynamic value…
1
vote
1 answer

struts 2.5 and struts jquery 4.0.1 grid loading

To load a grid after submitting a form successfully, we used below submit tag.
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
1
vote
0 answers

How to freeze columns in older version of jqGrid? I have version (3.5.1)

I want to freeze multiselect checkbox column of jqGrid I want functionality like this http://www.ok-soft-gmbh.com/jqGrid/FrozenMultiselectColumns.htm I know how to use this in new versions of jqGrid. But I have a project in which all functionality…
1
vote
1 answer

struts 2 use jqGrid to get row data before format

I want to get the jGrid data after it has been loaded. Some columns have formatter but I want to get their original data before format. The grid columns are :
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
1
vote
1 answer

Overriding Struts 2 jqGrid CSS

I'm stuck on overriding the default's struts2-jquery-plugin stylesheet for a grid. I tried defining my own stylesheet (jquery-ui-grid.css) and including it on my JSP page but the framework always downloads the default CSS (ui.jqgrid.css) last and…
JorgeGRC
  • 1,032
  • 2
  • 18
  • 37
1
vote
1 answer

Struts2 jqGrid Remove x On Individual Column Filters

I have a struts2-jquery jqGrid page that has a grid with column filters. Some of the columns are date formats, which I do not want to be visible, so I removed the input fields for that column filter using…
user3420328
  • 53
  • 1
  • 9
1
vote
1 answer

Struts2 Jquery jqGrid beforeShowForm Example

I'm looking for a way to use the beforeShowForm event when opening the edit dialog on a struts2-jquery grid. I want to be able to add custom fields to the edit dialog.