free-jqgrid

free jqgrid - jqGrid warning dialog

ぐ巨炮叔叔 提交于 2019-12-08 08:03:44
问题 All, I'm trying to implement custom warning message like 'Please Select row' when toolbar button[top pager] is pressed. I don't want to use alert!! I followed one of the examples from Oleg(JqGrid guru atleast to me!!) i.e.Stackoverflow reference - jqGrid warning dialog. Oleg demo reference - http://www.ok-soft-gmbh.com/jqGrid/Warning.htm All works well if i use the version same as in Oleg demo. BUT if i change the jqGrid version 4.8.0, the same demo not working :( I used - <script type="text

jqGrid getLocalRow returning false when data property is set

喜夏-厌秋 提交于 2019-12-08 04:48:31
Am having issues using getLocalRow along with data property var $grid; getGrid = function () { $grid = $("list"); $grid.jqGrid({ mtype: "POST", colNames: [], colModel: [ .... ], pager: "", loadonce: true, multiselect: true, gridComplete: function () { var data = $(this).getDataIDs(); for(var i=0; i < data.length;i++){ $(this).setSelection(data[i]); // select all rows by default } }, loadComplete: function (data) { }, loadError: function (xhr) { } }); return $grid; }; There are two ways am populating the grid based on 2 scenarios. In scenario 1, am just hitting server url and returning the data

free jQgrid 4.9.2, On delete confirmation box showing Id of dropdown instead text value

[亡魂溺海] 提交于 2019-12-08 03:54:47
问题 NOTE: As per Oleg suggestion I have implemented a formatter: 'select' property to dropdown to get selected Id in custom func I upgraded my jQgrid from version 4.8.2 to 4.9.2. Due to this I am facing problem while deleting any record of drop-down column. While deleting a record, I display a message box to take confirmation from user. In that message box I want show the selected text value of dropdown which I want delete. But instead of showing text value its showing me the selected value (GUID

free jQgrid 4.9.2, On delete confirmation box showing Id of dropdown instead text value

余生长醉 提交于 2019-12-07 23:59:28
NOTE: As per Oleg suggestion I have implemented a formatter: 'select' property to dropdown to get selected Id in custom func I upgraded my jQgrid from version 4.8.2 to 4.9.2. Due to this I am facing problem while deleting any record of drop-down column. While deleting a record, I display a message box to take confirmation from user. In that message box I want show the selected text value of dropdown which I want delete. But instead of showing text value its showing me the selected value (GUID) like this : But I want to show selected text of that dropdown. To get more clarity as per coding

JQGRID , get all rows after filtering

混江龙づ霸主 提交于 2019-12-06 03:58:24
问题 I am not able to get all rows { paginated } after filtering JQgrid . I tried > var myData = grid.jqGrid('getGridParam', 'data'); var myData = grid.jqGrid('getRowData'); but first option gives all rows and these are unfiltered rows. second one returns filtered rows but only from first page. In fiddle example if you type test in Client columns there are 6 filtered results, but first option returns all 7 records , and second one returns only 5 records { ie only from first page}. I need to show 6

JQGRID , get all rows after filtering

十年热恋 提交于 2019-12-04 07:02:27
I am not able to get all rows { paginated } after filtering JQgrid . I tried > var myData = grid.jqGrid('getGridParam', 'data'); var myData = grid.jqGrid('getRowData'); but first option gives all rows and these are unfiltered rows. second one returns filtered rows but only from first page. In fiddle example if you type test in Client columns there are 6 filtered results, but first option returns all 7 records , and second one returns only 5 records { ie only from first page}. I need to show 6 filtered records. results are logged in console. Here is fiddle Oleg The solution of the problem

How to make free jqrid font awesome action buttons bigger

谁都会走 提交于 2019-12-04 06:24:05
问题 Free jqgrid 4.8 with font awesome icon set is used. Standard action buttons are defined using colmodel [{"name":"_actions","search":false,"width":(37+15)+45 ,"sortable":false,"formatter":"actions","viewable":false,"formatoptions":{"editbutton":true,"keys":true ,"delbutton":true}] additional buttons are added using code from how add button before action buttons in jqgrid but they appear as jquery ui buttons even if font awesome classes are used in this code. jqgrid row height is increased

Sorting of columns when inline edit

人走茶凉 提交于 2019-12-02 17:52:25
问题 Not sure if that is a limitation or not. not able to sort any column when inline edit is there for at least one row. Fiddle: http://fiddle.tinymce.com/nMfaab/1 steps: click Search button Select one or more rows Click "Change Value" button -> All selected rows should be now inline edit Now try to Sort on any column <!DOCTYPE html> SKumar - JQGrid --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui

Sorting of columns when inline edit

↘锁芯ラ 提交于 2019-12-02 12:23:59
Not sure if that is a limitation or not. not able to sort any column when inline edit is there for at least one row. Fiddle: http://fiddle.tinymce.com/nMfaab/1 steps: click Search button Select one or more rows Click "Change Value" button -> All selected rows should be now inline edit Now try to Sort on any column <!DOCTYPE html> SKumar - JQGrid --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script type="text/javascript" src="http://www.ok-soft-gmbh.com/jqGrid/jquery-ui

in Jqgrid how to show dropdown value which was updated in database by user by inline edit

我只是一个虾纸丫 提交于 2019-12-02 11:02:56
below is the code, in this the dropdown selected by the user is getting updated in database, but after refreshing the page i want to to display the value from database which was selected by user previously.now after refreshing the page the cell is blank.kindly help. $qr="SELECT id,`emp_id`,`emp_name`, `att_date`, `emp_join_date`, `intime`,`outtime`,`Total_Hours`,`OT Hours`,`Status` FROM `db_emp_attendance` WHERE Status='Absent' and att_date='2017-04-01'"; $q = mysql_query($qr); $rows = array(); while($r = mysql_fetch_assoc($q)) { $rows[] = $r; } $json_data=json_encode($rows); ?> <!DOCTYPE html