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

Using a drop-down list in an editable grid column using Struts2-jQuery-grid plugin

I'm trying to populate a drop down list in a grid column using the Struts2-jQuery-grid-3.7.0 plugin as follows.
Tiny
  • 27,221
  • 105
  • 339
  • 599
4
votes
2 answers

Action errors in struts2-jquery grid view

I wanted to display action errors on top of the grid after doing some server side validations on the values of struts 2 jQuery grid. Any help would be appreciated. here is my action error. addActionError("You can not delete this data"); But…
3
votes
1 answer

Double quotes in Json String replaced in freemarker file

In an action class, I get a list of beans in conventional manner. Then I use Gson to convert this object list in a json string. This works well (as you can see as follow): "{ "employees" : [{ "firstName":"John" , "lastName":"Doe" },…
3
votes
1 answer

How to use getText in grid name of Struts 2 jquery grid pluing

Consider that I have a List of AccountVO object which must be displayed in grid AccountVO{ bankCode; //which could be HSB,CITY amout; ... } In resource bundle I have bank.name.HSB = The HSB Bank bank.name.CITY = The CITY…
3
votes
0 answers

How to get the entire row value of Struts2 grid in action class

I am using struts2 jquery grid. It has 2 formatters email & sms. It has a select with 2 options active or inactive. The user can change from active to inactive & vice versa. So basically i have to save both the columns value in the database.…
Pradnya
  • 649
  • 2
  • 6
  • 17
3
votes
1 answer

How to load data in jqgrid manually?

I want to load data form combobox and textfield data to grid. How to do it? Above Image : select box data in column 1 and textbox data in column 2. Here is my Jsp Grid code:
budgies
  • 71
  • 1
  • 13
3
votes
2 answers

Struts 2 jQuery grid load data from JSON string

I found that we can load the jqGird with JSON string. Please refer to map JSON data to jqGrid. Is it possible to use this feature with sjg:grid tag? I look at tag attribute and only find that the data can be loaded from a URL which will call a…
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
3
votes
2 answers

Adding, editing, deleting rows of the grid using Struts2 jQuery Grid plugin

I'm trying CRUD operations using a Struts jQuery grid using the struts2-jquery-grid-3.7.0 plugin as demonstrated on the showcase, Grid (Editable/Multiselect). This is the form:
Tiny
  • 27,221
  • 105
  • 339
  • 599
3
votes
1 answer

Grid in Struts2 using struts2-jquery-grid plugin

I'm trying with a Struts jQuery grid using the struts2-jquery-grid-3.7.0 plugin as demonstrated on the showcase, Grid (Editable/Multiselect). The Struts form:
Tiny
  • 27,221
  • 105
  • 339
  • 599
3
votes
0 answers

Struts2 jquery grid with double select box

I have used truts2 jQuery grid plugin with DropDown select box in my web application. That work's pretty good. Here's the codes i have tried so far: @Action(value="selectcountries", results= { @Result(name="success", type="dispatcher",…
edaklij
  • 4,121
  • 11
  • 31
  • 43
3
votes
1 answer

Struts2 Jquery conformation

I'm using struts2-jquery plugin in my application, i'm using its sj:a component to submit forms. Here is my code.
2
votes
1 answer

Exception parameters.grid [in template "template/jquery/gridcolumn.ftl"

I am trying to make a grid by using Struts 2 jquery grid plugin along with struts jquery plugin and struts json plugin. I am beginner to this. Here is my JSP code:
Mayank Vaid
  • 330
  • 1
  • 7
  • 18
2
votes
1 answer

Struts2 Jquery grid not working

I want to display grid but when I execute jsp page, nothing is displayed neither any grid nor any data ... JSP page: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@taglib prefix="s"…
user5750833
2
votes
1 answer

Struts 2 jquery plugin grid (jqGrid) with groupField and rownumbers

I have set an sj:grid to have rownumbers and grouped a column with groupField as:
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
2
votes
0 answers

Struts 2 jquery grid default column template

The jGrid supports the column templates. Which can be used as the default template for all columns. Some explanation is at Stopping columns resizable in jqgrid An the sample code from there: var myDateTemplate = {sorttype:'date', formatter:'date', …
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
1
2 3 4 5 6