free-jqgrid

How to make free jqrid font awesome action buttons bigger

拈花ヽ惹草 提交于 2019-12-02 09:51:27
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 using code from JQgrid set row height .ui-jqgrid tr.jqgrow td { height: 2.8em !important; } but inline

how to export all jqgrid data which should have only visible columns irrespective of paging

半城伤御伤魂 提交于 2019-12-02 07:06:51
I want to know whether there is any method to get all jqGrid data of visible columns irrespective of paging. $("#listTableSupply").jqGrid("getGridParam", "data"); But it shows all json data which I have passed to jqgrid. As I use paging in jqgrid if I use $('#list').jqGrid('getRowData'); I get only the records from 1st Page. I need to know is there any way that I have to get all data with visible columns irrespective of paging. The usage of getGridParam with data is the correct way. If you need to remove some properties from the item or the array then you should make deep copy of the array (by

How to remove free jqgrid own horizontal scrollbar if autowidth:true is used

心已入冬 提交于 2019-12-02 06:52:13
问题 Free jqgrid width is set to occupy at least whole window width using settings from jqGrid and the autowidth option. How does it work? answer autowidth: true, shrinkToFit: false, Top level toolbar icons are made bigger using style below from answers. If there are many rows in jqgrid so that vertical scrollbar appears, those settings cause horizontal scrollbar to appear in Chrome even if all grid columns fit to screen. How to remove this unnessecary horizontal scrollbar ? It should appear only

jqGrid - checkbox editing not able to edit selected row

帅比萌擦擦* 提交于 2019-12-02 06:45:24
In my jqGrid, I have a checkbox which is also available for editing, i.e. a user can click on the checkbox and that checkbox's value will be updated in the database. That is working fine. However when I click on the checkbox and if I try clicking on it again, nothing happens . The row does not get saved. Theoretically the unchecked value of the checkbox should be saved. But this does not happen. I have tried referring to this answer of Oleg but it does not help. The weird problem is if I select another row and then try to unselect the checkbox again, I do see a save request going. I am

How to remove free jqgrid own horizontal scrollbar if autowidth:true is used

妖精的绣舞 提交于 2019-12-02 05:03:01
Free jqgrid width is set to occupy at least whole window width using settings from jqGrid and the autowidth option. How does it work? answer autowidth: true, shrinkToFit: false, Top level toolbar icons are made bigger using style below from answers. If there are many rows in jqgrid so that vertical scrollbar appears, those settings cause horizontal scrollbar to appear in Chrome even if all grid columns fit to screen. How to remove this unnessecary horizontal scrollbar ? It should appear only if sum of column widths is greater that window width. To reproduce, open page below in chrome so that

sorting/filtering issue with jqGrid

非 Y 不嫁゛ 提交于 2019-12-01 14:24:50
I was using jqGrid 4.5.3. version which I have upgraded to free jqGrid version 4.13.6 . After upgrading I am facing following issues Sorting is not working for all columns I want to display the column size as per the content for which I have set autoResizable: true and autoresizeOnLoad: true , still column width is not set as per content Below is my jqGrid code written on document.Ready function jQuery("#jqgrid").jqGrid({ url: '@Url.Action("GetClassList", "Class")', datatype: 'json', height: 'auto', colNames: ['ClassID','CourseID', '@objLocalizer["Class_Title_GridCol"]','@objLocalizer[

free jqgrid 4.8 overlay issue when jqgrid inside modal dialog

孤街浪徒 提交于 2019-12-01 11:35:10
问题 I use free jqgrid 4.8. I use the jqgrid inside a modal dialog. When I try to use the delete button of the pager, all the dialogs are disabled. http://jsfiddle.net/9ezy09ep $(function () { $("#Ecran").dialog( { dialogClass: 'Ecran', autoOpen: false, width: 500, height:400, modal: true, open: function (event, ui) { $("#jqGrid").jqGrid({ url: 'http://trirand.com/blog/phpjqgrid/examples/jsonp/getjsonp.php?callback=?&qwery=longorders', mtype: "GET", datatype: "jsonp", colModel: [ { label: 'OrderID

How to perform ajax call and redirect to other page if clicked in free jqgrid column

瘦欲@ 提交于 2019-11-30 09:47:19
问题 I'm looking for a way to perform "Add to cart" ajax call to pass product code (row id) and quantity from other columns in clicked row and redirect to cart page if clicked in jqgrid column. According to https://github.com/free-jqgrid/jqGrid/wiki/improvement-of-formatter:-"showlink" showlink formatter is improved so I tried to use it. I tried colmodel {"label":"Add to cart", "name":"Addtocrt_addtocrt","search":false,"sortable":false, "viewable":false,"formatter":"showlink","formatoptions":{

Reload does not work

十年热恋 提交于 2019-11-29 18:39:51
In my jqGrid I use the multiselect parameter so that there is a checkbox on each row. The grid shows a list where each row has an "Open" status. A number of rows may be checked and when the "Close Faults from Subcontractor" button is clicked, all the ticked entries will be assigned a new status of "closed". As this grid only displays "open" entries, the database is requeried and a new list of open entries needs to be displayed. To do this the grid needs to be reloaded with the new data. Currently the reloadGrid is not working, the same data is shown as before. $(function () { getDataForGrid

Unable to see the left pager in the following jqGrid directive

那年仲夏 提交于 2019-11-29 18:13:14
I am working for the jqGrid for the first time at all.I wanted to use it in my application with all its native features, like editing, deleting,a dding, sorting and all others. I came across this project , which seems to be a basic implementation of jqGrid. It was a good starting point. However, I am having trouble displaying the Add, Delete, Search buttons in Left pager. I have tried setting the pager to true, setting it to an div-id. Tried setting nav grid options. Tried binding the .navGrid function to the pager element in directive. But the left pager won't show up at all. I have a related