Questions tagged [jqgrid]
jqGrid is an Ajax-enabled jQuery plugin that provides a solution for representing tabular data on the web.
10,871
questions
0
votes
0
answers
25
views
How to delete row using jqgrid php?
$("#list2").jqGrid(
{
url:'getNew.php',
datatype: "json",
mtype: "GET",
colNames:['ID','Name', 'Email'],
colModel:[
{name:'id',index:'id', ...
0
votes
2
answers
37
views
Change Specific Column Header Background Colors of jqGrid Table
I have looked at the following post, but have not been able to get it to work for me: jqGrid change background color of specific column headers
I have tried the following css entries, but none of them ...
1
vote
3
answers
41
views
Jqgrid How to store a parameter as variable to reuse it in html element
I have a Jqgrid :
<input type="button" name="htmlbutton" id="htmlbutton" value="">
<table id="jqGrid" ></table>
<div id=&...
0
votes
1
answer
35
views
Jqgrid border form with and without top pager
I have a Jqgrid with rounded border (top and bottom)
I achieved this by editiong the css file like this :
/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
...
0
votes
2
answers
30
views
JQgrid - onCellSelect does not trigger for cell editing
In JQgrid, if you want to do some pre-processing stuff before the cell of a table is edited ( the input is rendered on the DOM ). You can't do that, because for some reason the onCellSelect does not ...
0
votes
1
answer
39
views
How to get a custom grid param in jqGrid jQuery?
net web forms project and I get data with this format from my ashx.cs http handler file (server side) :
{"total":1,"page":1,"records":10,"userData":{"...
0
votes
1
answer
16
views
jqGrid Export To PDF (Highlighted Row)
I'm exporting a jqGrid to PDF that works fine with one exception. The printout doesn't include highlighted rows in the grid. For example, I'm highlighting certain row as follows
$("#...
0
votes
2
answers
60
views
JQGRID - Make checkboxes fit row height
In JQGRID, I increased the row size of my table by doing this in the CSS file:
.ui-jqgrid tr.jqgrow td input { padding: 0px; height: 60px;}
Since I have multiselect: true, how can I make the ...
0
votes
1
answer
23
views
Reloading jqGrid with filter text, modifies the original datasource, after reloadGrid
I have a jqGrid that initially displays 100 records. After typing a search text, it gets filtered into, say 26. I select one of those 26 rows and edit the fields using a modal dialog. After refreshing ...
1
vote
1
answer
13
views
Guriddo Jqgrid - Multi-select filter issue
I want to use multi-select filter in Guriddo jqgrid. But one of my record contains comma in the data. I want to filter those records using multi-select filter having comma in the data using delimiter ...
0
votes
1
answer
27
views
Django MYSQL JQGRID won't display since SSL / HTTPS
I successfully deployed my very first Django / Mysql / Ubuntu /Apache - mod_wsgi application on an OVH VPS.
On the main page, I have a JQGRID table to display some informations from my MYSQL DB (...
0
votes
1
answer
19
views
Load HTML of SubGrid without its expansion in JQGrid
In my ASP.NET MVC application, I have JQGrid and its SubGrid but I noticed on onSelectRow event it is not detecting Subgrid rows until I expand main grid rows. I am trying to select main grid row and ...
0
votes
1
answer
23
views
Need to show Show More / Show Less option in JQGrid in ASP.NET MVC
I have requirement where I need to how Show More / Show Less option in a column appended to the values I am getting from DB eg: ABC, ABD, ABE,...Show More and vice versa when the full values are ...
0
votes
0
answers
29
views
Jqgrid Toolbar Filteration Dropdown and Min Max Range
I have a Free JqGrid MVC version.So this question based on Toolbar filteration(Searching).
In this item grid that consist Item Name it's a string filed and it's filteration is working properly.
For ...
1
vote
1
answer
62
views
JqGrid prevent checkboxes from double clic event
I'm using a JqGrid with multiselect : true and i'm using double clic event to launch an edit function.
ondblClickRow: function (rowid) {
var rowData = $(this).getRowData(rowid);
...
0
votes
0
answers
7
views
Can I use the 'scroll:1' option when using 'setFrozenColumns' in jqgrid?
I need to display data without paging using the 'scroll:1' option and with fixed columns in the grid I am creating.
Therefore, I used the 'setFrozenColumns' function, but it did not work properly due ...
0
votes
1
answer
47
views
JQGRID How to change row number (rownum) text color on selected highlighted rows?
I have a jqgrid looking like this :
I would like to change the rownum text color on the selected rows so it can be white like the rest of the text when highlighted.
I managed to change the default ...
0
votes
0
answers
35
views
jqgrid / free-jqgrid and Material Design Icons (.mdi)
With jqgrid or free jqgrid, is possible use a iconSet: "Material Design" and use this kind of icons:?
https://pictogrammers.github.io/@mdi/font/7.1.96/
I see in the code of JS file, ...
0
votes
1
answer
106
views
jqGrid 4.5.2 - jQuery Grid: giving rendering issues during jquery upgrade to 3.6.1
Im upgrading jquery version to 3.6.1 and for that im also taking the help of jquery migrate plugin. My applcation is also using jquery jqgrid-4.5.2(very old one) by Tony Tomov, to display data in ...
1
vote
1
answer
64
views
JqGrid make selected rows and Hovering not follow the Alternate row coloring scheme
How do I manage to have the hovering and selected rows (text color and background color) not following the alternate row scheme ?
Here is my regular grid (with the text color issue)
And I also would ...
0
votes
0
answers
21
views
JqGrid Pager button moves /shift on hover
I tried this workaround :
JqGrid pager button moves on hover
But it's not working for me.
I'm using the basic Accordion theme that I've changed to fit my needs.
I'm working with local datas (if it ...
0
votes
1
answer
33
views
jqGrid resizeStop listen globally
I am currently trying to figure out how to deal with saving the size of columnheads in jqGrid, but first of all i cant seem to find a way to globally listen to all jqGrid resizeStops.
So i am trying ...
1
vote
2
answers
44
views
How to change pager background color in JqGrid?
I tried this :
Change styling of jqgrid
But it's not working as i'm not using bootstrap version of JqGrid.
I achieved to change the rownum color by doing this in HTML :
<style type="text/css&...
0
votes
1
answer
24
views
How to apply Theme from ThemeRoller on JqGrid in Django framework
I'm developing my first Django app and I try to understand how to apply a ThemeRoller theme on my JqGrid.
Where should I put the files after downloading the archive on https://jqueryui.com/themeroller/...
0
votes
1
answer
30
views
JqGrid populate Main grid and subgrid with 2 different JSON response with Local data type
I followed this example and it works like a charm,
jqGrid Subgrid with "local" Data
but now what I would like to avoid the "nested Json response" format and :
populate the main ...
0
votes
1
answer
32
views
JqGrid - populate subgrid only when 2 data lists match
I have those 2 Json data lists to populate JqGrid and subgrid :
This one for the main grid :
{'id': 1, 'first_name': 'Greg', 'last_name': 'JEAN'},
{'id': 2, 'first_name': 'Paul', 'last_name': ...
0
votes
0
answers
22
views
jqgrid not populating, resulting in "TypeError: Cannot read properties of null (reading 'iColByName')"
I have a jqGrid that is throwing the error "TypeError: Cannot read properties of null (reading 'iColByName')" when 'addRowData' is called. When I step through the addRowData function in ...
0
votes
0
answers
35
views
How to handle javascript object to backend in Liferay,
I created one table in view.jsp using jqGrid API and saved that table data into one javascript object now i want to save that table data(javascript object) into database using Liferay portlet?
i used ...
0
votes
0
answers
22
views
how can i make 2 columns in same row with Jqgrid ? does anyone know how it works i wanna make (skills and priority in same row)
here's the image
my hope and expectation is to add more columns in same row when edit and add form of Jqgrid
but no need to show it in the table view
i need add like this so every new skill there's ...
0
votes
1
answer
49
views
how to make selected row after crud in jqgrid and php
how do I use jqgrid and php so that I can use the selected row after crud feature meaning that when the added data form is submitted, the program can highlight which row according to its position so ...
0
votes
1
answer
36
views
Issue getting FooterData in JqGrid
I have JqGrid I need to add column values and display in footer data of that column.
I have implemented all things as per below code.
I am getting footer row in interface but the value showing as 0....
1
vote
0
answers
54
views
Average column value changing on pagination
I was having some trouble finding why jqGrid was changing the average value for a column whenever I went to a different page and came back.
I'm currently using jqGrid 5.4.0 and I have tried to update ...
0
votes
0
answers
82
views
jqgrid filter column doesn't work in mvc asp.net
I'm new in jqgrid and i have a problem with column filters in an mvc c# application.
If i filter using filter tollbar it doesn't filter anyting, even with serch button.
Somebody can help me?
Here my ...
0
votes
1
answer
31
views
Empty Edit/Add windows on jQGrid for MVC
Although the jQGrid loads properly on the website, clicking the edit and add buttons brings up a window where I can't add the database information. It only shows the submit and cancel buttons on the ...
1
vote
2
answers
46
views
JqGrid - Set Default Operand For a Column
Is it possible to set a default search operand for a single column? The column is called "Severity" and has default value of 4. I would like to display "le" and by default filter ...
0
votes
0
answers
41
views
Export to Excel Jqgrid data
I am trying to export my JQgrid data into excel by insert a button.
But it is showing
No such method: exportToExcel
I am working in asp.net mvc.
$("#export").on("click", function(...
0
votes
1
answer
30
views
saving select 'text' not 'value' when saveRow is executed in jqgrid
editable:true,edittype: "select",
editoptions: {
dataUrl : '/test.do?cd=abc',
cacheUrlData: true,
buildSelect : function(data) {
var data = ($.parseJSON(data)).list;
...
0
votes
1
answer
26
views
Why in multiselect grid with editable cell the setSelection of row not working when tries to edit already edited cell again in afterSaveCell event?
afterSaveCell: function (rowid, name, val, iRow, iCol) {
var grid = $("#" + subgrid_table_id);
if (parseFloat(val) > 0) {
//alert(val + ' ' + rowid);
//$(this.rows[rowid]).attr(&...
0
votes
1
answer
26
views
How Pagination works internally in JQ grid?
Is JQgrid create all records in DOM or store locally in JavaScript object show records on pagination event?
Thanks
We tried JQ grid in our project experience slowness rendering table for large number ...
0
votes
1
answer
43
views
Implement onclick event
I have new UI where inside jqgrid column there is icon ,if I click it I need to hit on function.
formatter: function (cellvalue, options, rowobject) {
return '<div class="...
1
vote
1
answer
164
views
Traversing through jQgrid and find row id when click
I am traversing through jqGrid. When I press row action button it should get current pressed row data, to do this I need to get row id of that row when clicked.
<tr role="row" id="1&...
0
votes
0
answers
28
views
how to move move multiple rows wihtin a jqGrid
What I am trying to make is
choose one or multiple rows
move up and down (=change order of the rows), not drag and drop
like the picture below.
I wonder if it's possible and please give me some ...
0
votes
1
answer
22
views
How to hide hover message on jqGrid?
I made a button in each cell on jqGrid.
But I wanna hide hover message(tag content)
please check below this,
enter image description here
jqGrid hover message
0
votes
0
answers
13
views
Display ROW in Different Manner JQGrid
I am displaying the data in JQGrid row by row but now I don't have any issue in displaying
look like this:
but now I need to display same data in different manner can I do like this please say some ...
0
votes
1
answer
56
views
Is there a way to get all the data from the grid that is sorted and edited in jqgrid?
I have a grid that can be paging, sorted, and edited.
I have to save data after I get all the data in the grid.
For example, if you sorted and edited a grid, you must be able to import the edited and ...
0
votes
0
answers
61
views
jqGrid - multi select column filter - is there any way to send mult-values in array format like "?key=['a','b']" not "?key=a,b"?
I am following the kind explanation and guidance from @Oleg which are super helpful on this page:
jqGrid add multi select column filter to a specific column
Everything is okay and working fine but the ...
0
votes
0
answers
50
views
how to align jqgrid table header and row column properly
table header and data rows column not align
jQuery("#tblCriticalList").jqGrid({
datatype: 'local',
colNames: ['Time', '7AM', '8AM', '9AM', '10AM', '11AM', '12PM', '1PM', '2PM', '3PM', '4PM',...
0
votes
1
answer
16
views
Example of jqgrid with python
So I've cloned this
https://bitbucket.org/romildo/django-jqgrid-demo.git
as I am looking for a working example of jqgrid with django.
I've been updating the code (as this seems like it was written for ...
0
votes
0
answers
16
views
Jqgrid no underline for cell value with 'showlink' formatter
I am using Jqgrid 5.2 paid version.
I have a column with formatter 'showlink'. Everything working fine, except, it is not showing as hyperlink(with underline) on grid load.
0
votes
1
answer
32
views
Display a confirmation box and wait for user input when editing data using jqgrid
I'm using jqgrid to display different data entries in my frontend. When adding a new entry or editing an existing one I'd like to check the value the user entered for the column foo. An empty string ...