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
0
votes
1 answer

My jqGrid instance doesn't want to reload

My jqGrid doesn't seem to reload. Why might this be? $(function(){ $last_name = $("#search_last_name").val(); $first_name = $("#search_first_name").val(); }); $("#search").click(function(){ …
0
votes
1 answer

JqGrid data array indexes

I'm trying to load data array as JQGrid data, but indexes in array starts from about 40000 and actually are ids of elements. Example array structure: array[45698] = array('id' => 45698, 'data', ..); Is it possible to set JQGrid to see these…
norweny
  • 313
  • 1
  • 3
  • 15
0
votes
1 answer

Ajax call before jgrid is loaded

I need to pre-load some values from a php script, I'm using a $.post call (jquery) as follows: ... var grade, section,from,until,user; function loadData(){ $.post('procstring.php', {data: window.location.hash}, …
Felix
  • 3,058
  • 6
  • 43
  • 53
0
votes
1 answer

Changing searchFields in seacrhGrid - jqGrid

I'm using jqGrid 4.3.1, and i have the following grid and seachGrid. I need to change the values of the searchField in the searchGrid, however i cant change the grid. I know that the search grid uses the colModels to build the searchField…
0
votes
1 answer

jqgrid update SelectCommand at runtime and listen for row select?

1) I am using the jqgrid plugin to show results from different selections a user can make on sliders and such. The jqgrid loads via a php command: $grid->SelectCommand = 'MySQL SELECT statement here'; But I want to change this, and reload the data…
JD Isaacks
  • 56,088
  • 93
  • 276
  • 422
0
votes
0 answers

How maintain basic and full data in jqgrid?

I have a jqgrid that maintains a database file. The edit/add forms that show up are the basic information and the rest is set to default values. What I would like to do is allow the user to click a button in the form and then give them access…
Ray Marsh
  • 13
  • 9
0
votes
1 answer

Retrieve the column values of jqgrid dynamically

Here is my code of jqGrid. $("#grid").jqGrid({ url:$url, editurl:"serivce.php", datatype: "json" , mtype:"post", …
0
votes
3 answers

How do I implement jqgrid v3.7 in my webapplication created using cakephp 1.3

I am trying to implement jqgrid v3.7 in my webapplication created using cakephp v1.3. My controller code is as follows function admin_index() { // get how many rows we want to have into the grid - rowNum parameter in the grid $limit =…
Gaurav Sharma
  • 2,830
  • 1
  • 37
  • 54
0
votes
1 answer

JqGrid: Fetch count of selected rows and add Column value

Below code is used to fetch count of multiple rows selected and add the value based on column name dm var myrow; var id = jQuery('#grid').jqGrid('getGridParam', 'selarrrow'); console.log(id.length); if(id.length) { for (var i=0;i
Slimshadddyyy
  • 4,085
  • 5
  • 59
  • 121
0
votes
1 answer

jqGridPHP : jqGridRender Class > setColProperty > "editoptions"=>array("value"=> $datetime) > How to format the $datetime php variable?

In a php file, i use the jqGridRender Class to build and manage a grid. To add a new item in my SQL table, i use (among others things) a php variable named $start. This variable is known, it belong to the PRIMARY KEY of this new item i want to add.…
Qualliarys
  • 143
  • 2
  • 4
  • 14
0
votes
1 answer

jqGrid Sorting by date and time, but displaying only date

I have a column in my jqGrid that currently shows the date in 'd/m/y' format. It is formatted from a date and time string of the format 'Y-m-d H:i:s' and is sorted by date only. The current colModel is like the following: {name: 'published_date',…
The Unknown Dev
  • 3,039
  • 4
  • 27
  • 39
0
votes
1 answer

Search option: jqGrid + PHP

I'm trying to get work this code: $("#list").jqGrid({ url: 'employers.php', datatype: 'json', mtype: 'POST', postData: {c : "", n: "", a: "", d: "", t: "", e: "", f: "",…
Felix
  • 3,058
  • 6
  • 43
  • 53
0
votes
1 answer

Drop down not working in Filter toolbar for jqgrid 4.6.0 version?

I want support for drop-downs in the toolbar filter fields as Filter toolbar drop-down not working in jqgrid 4.6.0 version. But it is working in 3.8 .version I have referred the link for 3.8. Please help me to fix in 4.6.0…
0
votes
1 answer

How to remove the shadow after delete the row in jqgrid?

How to remove the shadow after deleting a row, I have referred the code from this link. After deleting the row and receiving a confirmation prompt, I reload the full div, the only problem is the shadow(white color blur background color). I have used…
0
votes
1 answer

jqgrid, autocomplete under several input boxes

For jqGrid, how to do autocomplete under several input boxes, namely A, B, C. After the input A, autocomplete values provided by B need to have a reference from input A. For the dataInit at input B, I can only get the original content of input A,…
Gene Leung
  • 11
  • 3