Questions tagged [jqgrid]
jqGrid is an Ajax-enabled jQuery plugin that provides a solution for representing tabular data on the web.
10,866
questions
0
votes
0
answers
13
views
Plus icon appearing incorrectly in grid
For my grid I have the following configuration:
subGrid: true,
subGridOptions: {
// configure the icons from theme rolloer
plusicon: "fa fa-plus",
...
0
votes
0
answers
23
views
JQGRID searchoptions multiselect with input field
Good days.
I have:
{
name: 'resellerDesc',
index: 'resellerDesc',
label: 'Supplier',
align: 'left',
...
0
votes
1
answer
14
views
Editing inline cell changes same row number on first page
I'm starting out with a blank grid, then have an icon to browse for a spreadsheet that can import a list of users. My grid is set up like this:
$grid.jqGrid({
datatype: 'local',
...
0
votes
0
answers
39
views
jqgrid addRowData gives error "v.p.data.push is not a function"
I want to create two tables through Jqgrid
and add data to another table when I click the row of one table.
Click to move the data to another table, but an error similar to "v.p.data.push is not ...
1
vote
2
answers
37
views
jqGrid onSelectRow jqGrid is not a function error
I am trying to get selected row from jqGrid but its failing onSelectedRow event. Gird itself loads the data without any issues. Error only on selected row event. What am i missing here. Below is my ...
0
votes
0
answers
28
views
Hello, i want to close modal button... but i close
buttons: [
{
text: "Yes",
"class": 'btn btn-danger',
click: function() {
tbl_dl_user_mstDelID = gsr[0];
$.post( "php/...
0
votes
0
answers
30
views
How to set a min height on a jqgrid which needs to have height: 'auto' so it can expand as needed
In a .net6 web application, I have a jqgrid that currently height: 'auto'.
Some of the columns in the grid have a dropdown. The problem is that when there is only one row in the grid then values in ...
0
votes
1
answer
17
views
jquery grid dynamically loaded via ajax
To have a jquery grid in a typical page gridePage.html with some HTML and JavaScript code I do
$("#gridtable").jqGrid('setGridParam', {
data: [
{'type': 'aType',
...
0
votes
1
answer
23
views
JQGRID formatter only apply once
I'm using a formatter on one of my Jqgrid column to create some line breaks each time the delimiter " ; " is found in the cell but I don't know why it only works on the first one.
If a cell ...
0
votes
0
answers
15
views
jqGrid Button Formatter Bootstrap Modal Confirm Multiple Callbacks
Hello i try to use a confirm Bootstrap Modal in a Button Formatter jqgrid
function buttonFormatter(cellvalue, options, rowobject)
{
var id = rowobject.Id;
return '<button id="button1_'+...
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
50
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
48
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
42
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
40
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
44
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
23
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
65
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
28
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
21
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
44
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
23
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
29
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
33
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
63
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
8
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
55
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
43
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
120
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
66
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
24
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
35
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
47
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
35
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
34
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
33
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
43
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
24
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
51
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
39
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
57
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
90
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
55
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
47
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
27
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
32
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
51
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="...