How can I make an entire jqGrid disabled/readonly?
I have a page with a logical "edit section" which I show when the user selects something to edit, and hide when the user is done editing (save or cancel). While the edit section is shown, I disable several other elements on the page. I would like to disable their ability to click in t...
Hi,
I would like not to lose the paging and the sort parameters when I leave a page with a grid and I come back to this page.
Is it possible to get the page, rowNum, sortname, sortorder params (I think with getGridParam), put them in the URL scope, go to another page, and get those params back through the URL scope and give them in the...
hi,
I have a category and a subcategory column in a Jqgrid. I have enabled inline editing, both category and subcategory are dropdownlists columns (edittype:'select'). I need to filter the subcategory list based on the selected category. I wonder how can I acheive this functionlity?
I tried the below event but its not working for me
a...
Hi,
I'm sure i'm just not looking in the right place...again... but i can't seem to find the function that gets called after the editurl:"url" has completed.
I have:
colModel: [
{ name: 'Email', index: 'Email', editable: true },
{ name: 'ReferenceEmail', index: 'ReferenceEmail',hidden: true , ed...
I have the following html in my site:
<link type="text/css" href="/Styles/ui-lightness/jquery-ui-1.8.2.custom.css" rel="Stylesheet" />
<link type="text/css" href="/Styles/ui.jqgrid.css" rel="Stylesheet" />
<script type="text/javascript" src="/Scripts/jquery-1.4.2.min.js" ></script>
<script type="text/javascript" src="/Scripts/jquery-ui-...
I have 2 Grids on my HTML page.
When I click a row in one grid, it needs to load data into the other based on the selected row.
Therefore I need to send the rowId as an extra parameter for the second grid.. Can't figure out how..
(I'd rather not like to use the subgrid functionality)
...
Does anyone know how to disable the "reload grid" button (a.k.a. the "refresh" button) in the grid navigation?
I'd like to remove the button circled in red above. Seems pretty simple but I'm just not finding the necessary code to support the request.
...
Hello all,
I'm having a problem updating a row after an inline edit.
My ColModel is:
colModel: [
{ name: 'Email', index: 'Email', editable: true },
{ name: 'ReferenceEmail', index: 'ReferenceEmail', editable: true },
// hidden: true, editable: true, editrules: { edithidden: true}
{ name: 'Title', index: 'Title', edita...
Hi,
I'm building a completely "client side" grid however if I enable inline editing, the changes I make are lost if I change the grid page.
Hopefully someone can point out what I'm missing
The Grid setup is shown below along with the function I call to fill it with test data:
var myGrid;
var lastgridsel;
jQuery(document).ready(functi...
I'm using jqGrid 3.6.5 and IE8
When setting shrinkToFit: false the columns are clearly not aligned with the column headers.
If I turn on shrinkToFit: true the problem disappears, but I lose the absolute sizing of the columns.
Resizing the columns (in code, or dynamically by the user) does not affect this problem.
See image for illustra...
I need to use the option to search with custom php code but I could not put code because I've tried both and neither is as following
...
How to drag and drop multiple rows using jqgrid i.e Can i drag more than one row?
...
Using cell edit mode in jqGrid, the default behaviour is to enter edit mode on a cell whenever that cell is clicked or if that cell is selected and the enter key is pressed.
Is there a way to change this behaviour so that a single click does not place it in edit mode but a double click does? Entering into edit mode on enter is fine.
...
Is it possible to hide a specific column in jqGrid after it has been setup, while ensuring all alignments are correct (table width and header/data alignment) for IE/FF.
The data can't be removed at back-end w/o major refactoring.
I am reiterating through a specific column and checking if it is all empty, and if so, I tried .remove() on...
I just downloaded jQuery Grid for ASP.NET MVC from codeplex
I did run the project, all seams to be all right, in Sql Profiler i can see that sql queries coming to database. Then in debugger i can see that data comes in LinqToSql query fine:
var model = from entity in repository.Index().OrderBy(sidx + " " + sord)
select new
{
...
I have a grid with some hidden datas and also I have some custom links on each row (eg: "publish/unpublish", "edit", "delete"). When I click on the link "publish/unpublish" on each row, the row data should get updated automatically and the values should get posted to the server. After successful submit the grid row should get refreshed a...
i can chance the text color by doing this in jqgrid custom formatter:
function YNFormatter(cellvalue, options, rowObject)
{
var color = (cellvalue == "Y") ? "green" : "red";
var cellHtml = "<span style='color:" + color + "' originalValue='" +
cellvalue + "'>" + cellvalue + "</span>";
return c...
on this page in the release notes of jqgrid 3.7.2, i see:
Fix export url in export to excel method
but i dont see any other documention about jqgrid natively supporting export to excel.
I have an asp.net mvc site and i have always done this on the server side to generate an excel file.
Is this now possible out of the box from jqgrid....
I have a jqGrid with lots of data loaded in it.
I want to provide three buttons.
Clicking on each button the grid will be prompt user to enter a number and based on that input it will search the grid.
Please tell me if jqGrid supports this.
...
My jqgrid has a bottom toolbar and changes height depending on the user-agent:
$('#titles-table').jqGrid(
{
.
.
.
height: function(){ return (navigator.userAgent.match(/iPad/i) !=null) ? "100%" : "222px";}(),
toolbar : [true,"bottom"]
}
The grid displays a list of titles which is sometimes very long. Therefore, the grid wil...