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
1
vote
3 answers

Why is it that I cannot sort my grid in jqgrid everytime I clicked the column header?

I was really confused that my program using jqgrid won't sort (descending) everytime I clicked the column header? I tried creating a program where I use local data (.json data) and it work great in sorting when I clicked the column header. So what's…
jayAnn
  • 827
  • 3
  • 18
  • 38
1
vote
0 answers

How to Upload File in Folder or any in jqgrid edit add dialog box

i m newbie in Jqgrid. How to upload image or file in particular folder. i try most of code but not understand how to used So please help me { name: 'attachment', index: 'attachment', align: 'left', editable: true, edittype: 'file', …
Rushi
  • 11
  • 2
1
vote
2 answers

How Do I Load jqGrid w/o an Ajax Request?

Every single example of jsGrid usage that I've found/seen shows data being loaded through an Ajax request. I'd like to load the grid based on data that's already available; a separate request is completely unnecessary unless it's a technical…
Rob Wilkerson
  • 40,476
  • 42
  • 137
  • 192
1
vote
2 answers

jqGrid for PHP Custom function using Editrules

I am also quite a newby to jqGrid and need some help please. I need custom validation on a field I am editing. I looked at the examples and tried the following code below but get the error "Custom function should be present in case of custom…
Steven
  • 21
  • 1
  • 5
1
vote
1 answer

jqGrid to reorder column by index name dynamically

I want to reorder jqGrid columns by column name or by column index (string) not by column index (int). I have seen this API $("#list").jqGrid("remapColumns", [0,1,12,3,14,5,6,7,8,11,2], true); It uses column index number but the problem is after…
Raunak Gupta
  • 10,412
  • 3
  • 58
  • 97
1
vote
1 answer

JQGrid: Select (that means highlight and check the checkbox) only on double click of a row, not on single click

I am trying select (i.e. highlight and check the checkbox) only on double click of a row, not on single click. But not getting getting a clue how to achieve this. Can anyone please help me on this.
SK.
  • 1,390
  • 2
  • 28
  • 59
1
vote
2 answers

Changing the AJAX url in Jquery Plguin, JQGrid?

I'm using the jqgrid plugin for jquery and jquery ui and I would like to change the AJAX url on a dom event. this is the instatiation of the jqgrid table: jQuery("#list").jqGrid({ url:'AJAX/JSON/json_member_mail.aspx', datatype: 'json', …
Neo
  • 11,078
  • 2
  • 68
  • 79
1
vote
0 answers

Get data from hidden index on click delete icon in jqgrid

Problem in get data from current row when click on delete button. I want to get data from hidden field passed from codeigniter controller and get that hidden field data when click on delete button. {name:'PL_DELETE', index:'PL_DELETE',…
1
vote
1 answer

jqGrid Change the value of a field on beforeShowForm

I have a grid with a value in a predefined field, I want to do it is to click edit a row want to change the value of one of the fields in the FormEdit. The ColModel is: colModel:[ {name:'id',index:'ID', width:50, hidden:true,…
Sici
  • 39
  • 1
  • 6
1
vote
1 answer

Condtional editable depend on the value in colModel jqGrid

I am trying to put editable value either true or false depend on the value of the cell in colModel. Is there is any way to do that? {name:'keywords',index:'keywords', width:150, editable:true,edittype:'select', editrules:{required:…
Dadu
  • 89
  • 3
  • 14
1
vote
1 answer

How to stop the url sending(setGridParam) request in Jqgrid?

I have created external three checkbox. First I check the Male check box, sending the request to backend,response taking time 30 to 50 Sec.But suddenly I press Female checkbox, not send the female value parameter to backend. SO I want to stop…
1
vote
2 answers

Preventing the opening of a form on a add button click

Did you guys know how to prevent the open of a Form when I click on a add button? Maybe using beforeShowForm? function(formid) { if(jQuery('#gridap').getGridParam('selrow')) { idgridap=jQuery('#gridap').getGridParam('selrow'); …
JGG
  • 304
  • 2
  • 12
1
vote
1 answer

Missing and mis-aligned column header in jqgrid?

There are 3 columns in my jqGrid: ‘Index’, ‘Name’, ‘Code’. I drag and increase the width of any of the rows such that horizontal scroll appears and we are at the right-most end. Now the ‘Index’ column is either partially visible or completely…
1
vote
3 answers

How to disable search opertion for seleted column in jqGrid?

I have a five column(2 integer,3 String column) grid with column filter. i want search operations for integer values(greater,less,equal) its working fine, i don't want search operations for string column. I am using back end search. What am…
1
vote
1 answer

How to get search operation parameter in server side in jqGrid?

I have typed in id filter box 5 and I have choosen greater in search operations. I got a id=5 value at server end but I can't get the value() for search operator. jQuery("#list451").jqGrid({ url: 'localset.do', datatype: "json", …