Thank you waiting!
I mean of cause IE9 beta (tested with IE 9.0.7930.16406). It's a pity that one can not modify the title of the post.
Best regards
Oleg
Sorry SomethingNew,
It is very difficult to explain the taste of something without to taste of it. Exactly the same is true if we write something about the code. Why you don't just post the code which you mean?
What I mean is very easy. Look at this example. One prepare an array with data which include additional 'id' property if it not exist already in the grid. Then create a jqGrid using the data as input. It's all. The data will be automatically sorted and paged. So you have no problem with the sorting and paging of the data after the filling jqGrid with addRowData
You can add searchtext:”Search” parameter in the list of parameters of the navGrid call. For example,
$('#list').jqGrid('navGrid','#pager',
Hi dm,
I suppose your problem is in the way how you fill the grid. The best way will be the usage of data parameter of the jqGrid. In the way the data filled in the grid will be automatically sorted and the first page of data displayed. So the user can work with the grid in very comfortable way using local sorting by another column as default (column no. 3 in your case), go to another page and searching/filtering of the data. You can use Toolbar Searching if needed and so on.
If you do want to add the rows in old way with respect of addRowData for example you will have to reload the grid with the code like $(“#list”).trigger(“reloadGrid”); after the grid is full filled
Hello casperd,
if you post the code example with your custom formatter and explain what which information you want to have additionally in the custom formatter one could explain all more clear.
Best regards
Oleg
Hi,
you can get array of selected row ids with $(“#list”).jqGrid('getGridParam','selarrrow').
Look at my old answer and in the example.
Best regards
Oleg
Hello julievancouver,
I don't tested it, but I suppose, that you should set both closeAfterAdd:true and closeAfterEdit:true beacuse the code of Add and Edit will be shared. You can also try to use recreateForm:true which is a standard settings in my code.
By the way you can change the default settings for this parameters with
jQuery.extend (jQuery.jgrid.edit, {closeAfterAdd:true, closeAfterEdit:true, recreateForm:true});
Best regards
Oleg
Hi rmvenancio,
first of all you code try to return code [false, …] in all cases, but the main problem is that the $(“#dialog-confirm”).dialog will work
Hello Tony!
I suggestion to change the line https://github.com/tonytomov/jqGrid/blob/master/js/grid.formedit.js#L268 that the code changes work and one can use “Enter” key in the search dialog started from the Navigation bar.
Best regards
Oleg
Hi Tony,
You don't comment my suggestion about the introducing if templates in the jqGrids. In my opinion it could be a very helpful feature of the jqGrid.
For example some people want to use right or center alignment in the most columns, other people don't want to have any sortable
Hi ram2010,
you should just look inside of the source of the demo page which I used. You will see the following code:
var grid = $("#list");
var lastSel;
grid.jqGrid({
Hello Luigi,
probably you have problem with reloading of grid because you use loadonce:true. See my old answers on the stackoverflow.com: this for example).
Moreover Luigi I don't give any suport of jqGrid. I am just a user of jqGrid. So if I found my time today to write an answer there are no garantee that I'll do this at morning. I hope you understand me.
Best regards
Oleg
Hello tunyafix,
jqGrid don't support in the onSelectRow
Hello izumeroot,
you can use errorTextFormat event handler to decode the error message sent by the server. HTML code
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top