Questions tagged [jqgrid-php]

Tag for the PHP wrapper of jqGrid.

Description

Tag for the PHP wrapper of jqGrid.

For more information, visit: http://www.trirand.net/default.aspx

199 questions
22
votes
1 answer

Highlight row when the checkbox is true

Can Some one help me, I have a jqgrid and I want to highlight the row if the checkbox is true, thanks!! this is what i want to make in this project... function loadjqGrid(jsonGridData){ var xaxis=1300 var yaxis = $(document).height(); …
Jacx Toi
  • 439
  • 2
  • 5
  • 14
19
votes
6 answers

php + jqgrid + export to excel

Somebody knows a way to export the data from a jqgrid to excel? I want to do a report using this jqgrid that i think is awsome. But i need to save or print this report somehow, because is information to be keeped. Somebody knows any way??
Paulo
  • 518
  • 1
  • 7
  • 19
15
votes
1 answer

How to unselect the selected row from jQgrid when the custom formatter text field value is empty

When i tried to check the check box in jQgrid it selecting the values that's fine ,and in that i have the custom formatter text field with out entering the values in text field and tried to select the check box i will display the alert message after…
simbu94
  • 1,012
  • 2
  • 10
  • 22
10
votes
6 answers

jqGrid: how to lose focus when i click outside the grid, or anywhere else for that matter

i'm currently doing editing using inline editing, and when i click outside the grid, it's still being under edit. what event handlers should i use to make it call the restore row function, such that the only way for data to actually sent to the…
laurenceputra
  • 317
  • 2
  • 5
  • 16
7
votes
1 answer

jqgrid getRowData returns null

I have the code below: $buttonoptions = array("#pager", array( "caption" => "Select Product", "onClickButton" => "js: function() { var selr = jQuery('#grid').jqGrid('getGridParam', 'selrow'); var kelr =…
dr.linux
  • 752
  • 5
  • 15
  • 37
7
votes
1 answer

Mapping JSON data in JQGrid

I am using jqGrid 3.6.4 and a jquery 1.4.2 . in my sample i am getting following json data format & i want to map these json data into rows of a jqgrid { "page": "1", "total": 1, "records": "6", "rows": [ { "head": { …
hunt
  • 283
  • 3
  • 4
  • 15
6
votes
1 answer

JQgrid: Get Json data

Is there any method I can get the full JSON data from jqGrid when datatype is local along with the column name? In this format: [{"firstname": "Chris"},{"firstname": "Dave"}]
Alaa Osta
  • 4,249
  • 6
  • 24
  • 28
5
votes
3 answers

jqgrid - vertical column orientation

It seems that jqgrid by default lays out columns horizontally, in a normal tabular fashion across the top. This is great most of the time, but I have a situation where I want to display only 1 single record, but I want the columns to go vertically…
HerrimanCoder
  • 6,835
  • 24
  • 78
  • 158
5
votes
1 answer

jqGrid - Default Sort Order by Column

Happy New Years Eve! I would like to be able to set the default for value some columns to descending. So, the first time the user clicks on that column, it sorts descending by nature. I have no problem setting the default sort field and order of my…
Bryan
  • 17,201
  • 24
  • 97
  • 123
5
votes
1 answer

JQGrid Grouping GroupText formatting and modification

I have a grid that implements grouping but would like to expand on the details that display in the groupText: area. Ideally I would be able to take data about that grouping and display in that group row with the group name ({0} default value). In…
Mark
  • 3,123
  • 4
  • 20
  • 31
3
votes
3 answers

I need to get the entire row data from jqGrid when i click the link in same row using jQgrid

I am new to JQgrid and am unsure how to handle this use case. When a user clicks on a link in a specific row in jQgrid I need to get the row data with a separator.
simbu94
  • 1,012
  • 2
  • 10
  • 22
3
votes
1 answer

(jqGrid) Posting extra custom parameters to server

I have 2 Grids on my HTML page. When I click a row in one grid, it needs to load data into the other based on the selected row. Therefore I need to send the rowId as an extra parameter for the second grid.. Can't figure out how.. (I'd rather not…
glennv
  • 703
  • 1
  • 9
  • 17
3
votes
4 answers

How to work on jqgrid Add, edit, delete? using php

how to work on add row, edit, del the row in jqgrid? how to invoke editurl?? my code is below... jqgrid.php page. var $mygrid= jQuery("#list").jqGrid({ url:'example.php', …
Steve
  • 31
  • 1
  • 1
  • 4
3
votes
1 answer

JQGRID, How to multiselect rows in grid and post that selected data to database on click?

How to multi-select rows and send post data to a new datatable? I have an idea with this post but it does not elaborate.I was thinking of multiselecting rows and sending them posting them to a new table on the database, while deleting them from the…
NewHistoricForm
  • 121
  • 1
  • 8
  • 26
3
votes
4 answers

JqGrid select particular row which may or may not be visible

I have a jqGrid and there are several pages of items. I have the Id of a row which may be on page one or may be buried in the other pages somewhere. Given the ID of the row, How do I programmatically select such a row ? I am using the click event…
Faiyet
  • 5,341
  • 14
  • 51
  • 66
1
2 3
13 14