Questions tagged [jqgrid]
jqGrid is an Ajax-enabled jQuery plugin that provides a solution for representing tabular data on the web.
10,847
questions
0
votes
1
answer
59
views
Data is not loading at JqGrid in Asp.net Core
Data is not getting loaded in JqGrid from controller in ASP.NET Core.
I tried two ways, you can see two different methods in controller which I tried.
What am I doing wrong?
Index.cshtml
<link rel=&...
0
votes
1
answer
22
views
jqgrid Toolbar how to search/sort on custom formatted column with search toolbar
EDIT : I found out how, answer's below
I tried looking at other questions but can't figure how to solve my problem.
I load jqGrid with json datas. Here is an example of the json file :
{"statut&...
0
votes
0
answers
13
views
jqGrid - inline add for a second level subgrid
I have a project that uses a primary grid and 2 subgrids
Projects is the primary grid, Issues is the first subgrid and Details is a subgrid under Issues 1
Everything displays as planned. If I click ...
-1
votes
0
answers
34
views
Sort the jqGrid multiselect checkbox column to show all checked checkboxes on top after sorting
I am using jqGrid 4.4.4 version. The first column of the grid is multiselect column (multiselect: true) and I have enabled paging in the grid. I would like to sort on this multiselect column without ...
0
votes
0
answers
26
views
Only Header Checkbox and 1st checkbox tobe checked JQGrid
I have a jquery grid and at this time only 1 records in grid and i need to check the header checkbox and grid rows 1st checkbox.I tried it using class but it checked all the checkboxes.I need only ...
0
votes
1
answer
25
views
free-jqgrid Inline edit throws status 400 error
The project is a .NET 6 C# MVC application. Free-JQgrid version is 4.15.5 and believe the issue is with the way the grid has the ajax post created. Here is the code for the grid.
var mainColModel = [
...
0
votes
0
answers
16
views
Jqgrid - edit dialog field not clickable
Using simple built in functionality in Jqgrid where if you set the column property editable to true, it should pop up a form with that field text to be editable. Everything is fine except that the ...
0
votes
0
answers
14
views
highlight error on input form when validation fails in jqgrid
I am interested with highlight error on input when validation fails in jqgrid.
I found some discussions here
highlight error cell or input when validation fails in jqgrid
But i need to highlight error ...
0
votes
1
answer
42
views
Problem getting edited cell value using cell editing events in jqGrid
I've just started using jqGrid and am having a problem trying to get the value of an edited cell when it loses focus. I have a two-column grid with only the first column editable. Eventually my aim is ...
0
votes
0
answers
22
views
JqGrid mvc add and populate new row
facing an issue with jqgrid can anybody tell me how to set blank row data in jqgrid ?
I have my custom popup for edit/add row edit is working fine now i want to add new row with the user values (from ...
0
votes
2
answers
27
views
How do I make the new row take the focus?
I need to know how to make a new row that is added to the end of the grid, take the focus, that is, be the "selected" one? I am not using pagination and $grid["scroll"] = true.
...
0
votes
1
answer
17
views
Calling controller inside beforeShowForm in jQgrid (avoid delete confirmation message box)
I'm using jqgrid formatoptions for both inline Edit and Del actions. The edit section works very well. But I'm suffering from using the delete button in the way that will not show the default ...
0
votes
0
answers
34
views
jqgrid - filter not working on some columns
In the below grid, filtertooblar works for few columns and does not for few other.
I have verified that index and name for colModel is same for the columns for which filtering is not working.
The ...
0
votes
0
answers
25
views
Show document icon in jqGrid Column Headers
Is there a property in jqgrid which I can set for all the columns of the grid to have a document icon next to the columns?
0
votes
1
answer
60
views
Column text color when row takes focus (is clicked)
I use jquery and jgrid for create a grid in php.
I have modified the color of a column of my grid, using:
$grid[“loadComplete”] = "function(ids) { onloadFunction(ids)";
The onloadFunction function is ...
0
votes
1
answer
16
views
jqgrid show checkbox even if multiselect is false
is it possible to show checkbox even if multiselect is false?
0
votes
1
answer
28
views
How can i bind an array into a comma seperated list in jqgrid by using custom formatting
The below is is the method to display the team member grid.
function CreateRecruiterGrid() {
var searchKeyWord = $("#txtAdKeyWords").val();
var foreName = $("#txtForeName")...
0
votes
1
answer
30
views
jqgrid does not refresh the new value of the parameter in the URL
I have a search function that passes the current value of an input text to filter the records in a jqGrid.
In the first keyup event, the parameter is passed correctly but in the second KeyUp event the ...
0
votes
1
answer
38
views
how to display json vertically (as columns) not horizontally (as rows)
I have this json {"heat":"jimmy","mavs":"dirk"}
i want to display them as a table with 2 rows using jqgrid.
Team
Player
Heat
Jimmy
Mavs
Dirk
normally the ...
0
votes
0
answers
15
views
convert column to grid from json object using jqgrid
i have a json
{"heat":"butler", "mavs":"luka"}
normally the output of of jqgrid is
Heat|Mavs
Butler|Luka
i want to display it as
Team|Player
Heat|Butler
Mavs|...
0
votes
1
answer
26
views
Setting class attribute in jqGrid searchoptions
I am in the process of upgrading from jqGrid 4.5.2 to 5.5.5. When contructing the colModel searchoptions were set as follows:
searchoptions: {
sopt: ["eq", "cn", &...
0
votes
1
answer
58
views
jQuery jqGrid Change The Font Size For Only The Caption On This Page
In this jQuery & Coldfusion code, how would you change the font size of just the Caption? I would prefer not to update the CSS so it does it to every instance on every page of the Caption. Just ...
0
votes
0
answers
24
views
Screen elements visible while loading after upgrading to jquery 3
I am in the process of upgrading an old project from jquery 1.9.1 to version 3. I have a page that has a form with a few select2 elements at the top and a jqgrid at the bottom. During page load the ...
0
votes
0
answers
24
views
jqgrid Disable select field in subgrid by adding a new row
I want to disable one select field name='gebuehr_text' when adding a new row into the subgrid. My alert fires when adding the new row into the subgrid, but my code to disable this select field does ...
0
votes
1
answer
25
views
JqGrid doesn't close form edit after reloadGrid triggered
:-)
I think I encountered probably a bug on jqGrid 5.8.3 js I am using, but I am not sure…I wrote this code to refresh grid after submit the formedit:
ondblClickRow: function(rowid) {
jQuery(this)....
0
votes
0
answers
26
views
jgGrid JS trying to show custom alert
following this stackoverflow's solution suggest:
How to display custom alert boxes in custom_func of jqgrid
I was trying to make the same when opening form editor but using jqgrid js 5.6.0 and doing a ...
1
vote
1
answer
28
views
jqGrid in tab is disappearing after tab change in ajax tab container
I'm using Ajax tabcontainer with jqGrid.
I have two tabs.
jqGrid of tab1 is loaded when the aspx page is loaded.
For tab2, the button click event will change the activetabindex to 1, and then load the ...
0
votes
1
answer
45
views
How to sort numbers properly in column in format x e y (as power of 10)
I have numbers represented as power of 10, for an example 5e6 (5 000 000), 4e4 (40 000).
Is there an elegant way to sort them in jqgrid properly by their values?
I have an unholy idea to calculate ...
0
votes
0
answers
38
views
JQGRID table not visible & no error in developer tool
Grid is not visible
Using above concept yet the grid is not visible
I am converting an old application from jQuery 1.7 to the latest 3.6 & using the jqGrid 4.4.4 which is working with jQuery 2.2.2 ...
0
votes
0
answers
23
views
JQgrid search not working when cell contain HTML data in asp.net mvc
I have added JQgrid on page and Jqgrid contain HTML content in one column, but search functionality not working for this column
0
votes
0
answers
35
views
why i can not see any validate variable after a multi file in a grid?
I use a multi file in a grid and a check box after that and copy this dynaform for 3 steps of a process but dynaformes doesn't show check box inputs . I test it with a text box too and the problem ...
0
votes
0
answers
18
views
How to Align the JQGrid table in center of the page
I am feeling a bit stupid here. I have been raking my brain to get my JQGrid Table to center on the page. Nothing I have tried is working.
I have wrapped the table in a div and aligned the div center. ...
0
votes
1
answer
51
views
Refresh Jqgrid in PHP
I have jqgrid that need to refresh data onchange event, i create table with js and make object of jqgrid like this:
$('<table id="list2"></table>' +
'<div id="...
0
votes
0
answers
28
views
Custom filter for jqGrid
I'm using jqGrid and want to create complex filter by 2 columns together: Country & City.
I have list of Countries and each Country have 1-5 Cities + Select All + Any.
I need something like that:
...
0
votes
0
answers
31
views
In jqGrid, hide horizontal scroll from body table and show scroll in summary/footer table
I am using jqGrid with summary/footer data. I am showing horizontal scroll in the body table.
I want to show scroll on the summary table and control the header and body content from the scroll in ...
0
votes
0
answers
38
views
Problem with sending checked checkbox list to controller(Spring MVC)
VO
List<String> status;
Controller
@RequestMapping(value="/ed/statusList",method = RequestMethod.POST)
public @ResponseBody Object statusList(HttpServletRequest request, ...
0
votes
0
answers
14
views
I want to get data by checking jqgrid multiselect
I'm trying to check the existence through jqgrid multiselect.
However, it is for display only and does not contain actual data.
Also, ID1 is applied, but ID2 is not applied.
idArry = objGrid.jqGrid('...
0
votes
1
answer
49
views
Jqgrid edittype : select editoptions: dataUrl is not called to populate the data
I am trying to populate one of the columns using select box in jqgrid. Below is the code.
$(document).ready(function(){
$("#grid").jqGrid({
url: "./info",
...
0
votes
0
answers
12
views
Update JQGrid cell with value from a default number field on page
I have a JQGrid cell that I need to get value from 2 default number fields (speed A and speed B)
This grid contains type and speed cells
So I want it to update the speed cell to the default speed ...
0
votes
0
answers
17
views
free jqGrid max number of records in a group
jqGrid 4.15.5 is displaying only 10000 records in a group and breaks without error and not processing other groups. Is there a way to increase the number of rows in a group?
Thank You,
Regards,
TSB
0
votes
1
answer
25
views
jqGrid toolbar search working only for the first 20 rows. The paging is 20,40,60
jqGrid search is able to filter through the first 20 rows only. The grid I’m searching had 600+ rows but.
$(obj).find("#"+rowid).hide();
obj is having only first 20 rows (1 of 30 ) pages. ...
0
votes
1
answer
38
views
jQgrid not loading the custom userData on loadComplete
I'm trying to get some custo datam sent from the server stored in the json with the table data. The JSON that I'm sending is this one
{"total":1,"page":1,"records":1,&...
0
votes
1
answer
81
views
JqGrid - updating the values in all data cells
My JqGrid looks like this:
Staff
Room 1
Room 2
Jim
240
120
Dave
480
240
The staff and rooms are obtained from tables and are unknown in number at runtime. The figures (data) represent the total ...
0
votes
1
answer
20
views
JQGrid cannot isolate changes across the jQuery ui-tabs. When a row is edited, grids on other tabs also get updated
My page layout is exactly as you see in Jqgrid demo page http://trirand.com/blog/jqgrid/jqgrid.html
When a user selects from the menu grid on the left pane, a tab is dynamically created on the right ...
0
votes
1
answer
71
views
JavaScript :- cannot call methods on A prior to initialization; attempted to call method 'resizeGrid'
Well, I am trying to call a function that has object & method in 1 file to another file.
File 1 --
var a ={
resizeGrid : function(){
//this manipulates the height & ...
0
votes
0
answers
35
views
upgrade to Gurrido grid 5.5.5 not working
I am have been working in free jqGrid 4.15 and now migrating to Gurrido 5.5.5.
I am using spring 5.X MVC with JSP as view.
I am getting following exceptions.
Error message: Uncaught TypeError: Cannot ...
-1
votes
1
answer
24
views
Is number input type possible in jqGrid inline editing?
Is it possible to use number input type (with arrows) in jqGrid while inline editing?
Like here:
screenshot
jqGrid version 4.5.4
0
votes
1
answer
85
views
How to apply css to jqgrid header column
I am drawing a table with jqgrid.
I want to change the background color and text color of the header.
I am trying to change the css by applying a class to the header, how can I apply it?
I want it to ...
0
votes
0
answers
53
views
How to display two detail grids in jqGrid from a master grid?
I am currently able to open one Master Table A grid with only one detail grid list, either for Table B or C in jqGrid. When I select a row in Master A the related selections are displayed in either B ...
0
votes
1
answer
36
views
JQGrid dynamically created column headers
I am creating column headers from the rows of a mysql table (Button1) and it works fine. eg: I get headers |A|B|C| in the grid when I query the table for the rows A, B, C.
Button2 queries the same ...