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
2 answers

How to Retrieve cell value from jqgrid afterinsertrow function?

Is that possible to retrieve the value from the jqgrid afterinsertrow function? I tried to alert the data but it displays "undefined": function(rowid,data){ alert(data.Name); // "Name" is my column name }
user1429833
  • 11
  • 2
  • 3
0
votes
2 answers

jQgrid : Custom function ajax not working

I used ajax call in the custom function of jQgrid validation, this is my function function customFuction(value1, colname) { var result = null; $.ajax({ url: "../ajax/check_269.php", type: "POST", data: { …
Nisarg
  • 3,024
  • 5
  • 32
  • 54
0
votes
1 answer

jqGrid: Get parent row id in custom validation function of subgrid

Can any one suggest me how can I get parent row id in the custom validation function of sub grid? This is a my code subGrid: true, subGridRowExpanded: function (subgrid_id, row_id) { var…
Nisarg
  • 3,024
  • 5
  • 32
  • 54
0
votes
1 answer

jQgrid wrong pager structure

Im trying to parse pager data and grid data through a json response into a jqgrid. Here is the php file that creates a json file wich contains all these data (pager+grid data) if(!$sidx) $sidx =1; $result = mysql_query("SELECT…
F.N
  • 401
  • 4
  • 21
0
votes
1 answer

Is there documentation or example on handling the posted "_search" and "filters" values server-side and building database query?

Is there an example or documentation on handling the posted "_search" and "filters" data and using it to query the database for result? Thanks...
fletchsod
  • 3,560
  • 7
  • 39
  • 65
0
votes
2 answers

jqgrid not displaying php json data

my jqgrid is not displaying json data returned from my php file. php file generates json data >properly but my jqgrid html file is not displaying it . i cant find the reason. Please help. myfirstgrid.html
user2260363
  • 23
  • 1
  • 3
0
votes
1 answer

PHPGrid and Event jqGridAddEditAfterSubmit - to manipulate data before saving

relatively new to PHPGrid (basically a wrapper for jqGrid as far as I understand), I have a somewhat simple problem I do not seem to be able to find a solution for: before saving a row in a grid, set column C based on evaluations of columns A and…
0
votes
1 answer

How to reformat dates in m/d/y with in PHP array from jqgrid post data?

I have a jqgrid that sends update post data to my php for processing to a database. right now i have a problem with converting three of those columns into the desired yyyy-mm-dd format for injecting into a mysql database. How do i convert data in…
NewHistoricForm
  • 121
  • 1
  • 8
  • 26
0
votes
1 answer

JQGRID, How to post Selected rows data only once to Database?

Hi I have a jqgrid setup with a custom action button that sends selected rows to a database. I have everything working except that it posts the data 7 times per each row select where I only want it posted once per selected row. Please any and all…
NewHistoricForm
  • 121
  • 1
  • 8
  • 26
0
votes
1 answer

How to specify total, records and page in php jqgrid

I have this php code which I use getdocuments method which connect to a web service, I pass the limit , pageNumber and optional filter array and it returns an array of data in addition to the total count of records and page number I want to display…
Kamal
  • 363
  • 8
  • 25
0
votes
2 answers

jqgrid can not work by set jsonReader ,repeatitems : false

jqgrid can not work by set jsonReader ,repeatitems : false firstly my jqgrid is getData by array $(listvar).jqGrid({ } $responce = new stdClass(); $responce -> page = $page; $responce -> total = $total_pages; $responce -> records =…
micro Java
  • 108
  • 1
  • 6
0
votes
2 answers

jqgrid fail to display json data

this really make me crazy, i've read some question: how to display jqgrid from url (local data works, url data does not) jqGrid not displaying JSON data jqGrid not displaying JSON data jgGrid not displaying json data none of them is working for my…
Bari
  • 88
  • 3
  • 15
0
votes
0 answers

how to load full dynamic array (include table header) on jqgrid

I can load data into the table successfully. but i need to load this data into a Jqgrid. this all data getting from dynamic array (include table header). I try ed it but still i unable to do this. Any one can help? I used Jqgrid 4.0 this my code for…
0
votes
1 answer

jqgrid edit delete button in row

Im using jqgrid for the data grid . I want to edit and delete each row using edit button and delete button instead of clicking on row. Here is the jquery code : $(function(){ var lastsel2 $("#list").jqGrid({ …
mark rammmy
  • 1,478
  • 5
  • 27
  • 61
0
votes
1 answer

get radiobutton value in jqgrid

i'm starter in jqGrid, i want implement inline editing and write this code: var gridDocument = jQuery("#listDocument"); gridDocument.jqGrid({ url: 'jQGridHandler.ashx', postData: { ActionPage:…