jqgrid

jQGrid, how to add a new row inside the grid, not via a modal?

Some quick searching only turns up adding a new row to a jQGrid via a modal popup with the editable fields. Can anyone point me to a sample or show me some code that allows you to add a new empty row into the grid itself, at the top? I have an action column at the rightmost end of the grid in which onRowSelect() I have a save button ap...

JQGrid onselectrow events - custom multiselect

Hey there! I've been working with JQGrid a lot, and would recommend it to everyone. The one feature I don't really like is the built in multiselect which doesnt use special keys like shift and ctrl, doesnt give you much control and forces checkboxes to be shown. I would like to implement my own multiselect as follows: In onSelectRow- c...

jqgrid table styling

Hi.. I am using the jqgrid to display the data in my project... I am using firrbug to inspect the created table... But as i can see is that table columns, width created is hardcoded... Wherein i want to give it in percentages..... Is there any way wherein i can customize the element style of jqgrid????? ...

jqgrid internationalization

Hi.. I need to i18n my jqgrid depending on the language sleected... I need my jqgrid in english and german.... If anybody could tell the steps for the same or hoq cani achieve it???? Any help is thanked.... Its kind of urgent.... ...

Change the Sequence of JqGrid Columns

I wanted to change the grid column sequence dynamically. For e.g. By default the grid will be loaded in LoginId, FirstName and LastName sequence. Based on some condition, I need to change the FirstName and LastName sequence. Is there any way I can do this? I tried doing like: {name:'UserName',index:'UserName',width:82,sortable:false},...

JQGrid form editor displays in the middle of the screen on top

In my JQGrid everything works fine except for the form editor.. Do now know why but the form editor displays in top-middle of the screen. Below is my code $(document).ready(function () { var briefallocationid = $("#BriefAllocationId").val(); var updateDialog = { url: '<%= Url.Action("UpdateRegionAndCity", "BriefAlloca...

how to bind a form with jQgrid?

I have a form with 3 text field and 2 combobox...I have send those data to server based on which my jqGrid will be populated...I can append the parameter like &text1=&text2& etc. Can someone point me towards an example based on binding form with jqGrid. Thanks! UPdate1: my approach <script type="text/javascript"> //<![CDATA[ jQuery...

How to use JqGrid TreeGrid in MVC.NET 2?

Hi, theres not that much information over internet on how to use Trirand JqGrid TreeGrid option with MVC2. Anybody with an example? ...

How do I prevent a scroll bar from displaying in jqGrid?

I'm using a jqGrid and a horizontal scrollbar appears. How can I stop this from happening? ...

jqGrid ASP .Net Inline Edit - Update a cell value when another cell value changes

Hi, I am trying to do a calculation of an editable cell in the JQGrid when changing the value of two other columns. I have an hours column that I want to display the hours between two given dateTime columns. So when a user is performing an inline edit and changes either the StartDateTime or the EndDateTime columns the hours column should...

Jquery Grid problem

Hi, I have to create the Jquery Grid that have check boxes and drop down. the requirement is that used can add now row to the grid and can update the existing row and there is Save Change button. So when user click on the save Change all the update go in one short. How can i achieve this. do any one have example of that type of grid a...

jquery datepicker not sending data on using .serialize() for populating the grid

I have a form with 2 input type="text" , 1 combo box and other contains ( combo box contains equal , after,before & between operators + start date(jquery datepicker)+end date(jquery date picker ) but when i am sending the data to server its not appending date parameters with the url using .serialize(). My approach: $("form#transactionF...

ASP.NET MVC, Autocomplete in jQGrid does not call controller for data.

Hi, Autocomplete does not call corresponding action on Controller. In my case here SharedContoller\FindLocation does not get invoked on typing anything in the textbox of autocomplete. Rest all things are working fine. Declaration of scripts : <script src="../../Scripts/jquery-1.4.2.js" type="text/javascript"></script> <script src=".....

How do i pass an extra parameter to server using jqgrid and http method POST?

I'm doing something like the guy in this post: http://stackoverflow.com/questions/3311929/is-there-a-way-to-programatically-set-a-filter-in-jquery-jqgrid I'm using http method POST to to get data from my MVC2 project and i saw that you can add a parameter using GET doing like this: You can modify the url that jqGrid calls, and add the ...

jQuery grid plugin - js and css path

In the how to install section of the jQuery Grid plugin, it is said: Step 3: Under the myproject folder, create two additional directories named js and css Are these names a suggestion or a strong restriction? ...

problem selecting jqGrid cell on rowSelect and sending them to server

When I am using rowSelect and sending the values of column 1 and 2 its not sending the value selected for second rowSelect ...instead only sending all the value of column 1 but not column 2 . ... my approach: jQuery("#viewt").click( function(){ var grid = jQuery("#inventoryInq"); var ids =grid.jqGrid('getGridParam','selarrrow...

JQuery grid with detail tables

I have a grid that is currently using Telerik Grids, I would like to convert this to using all Jquery with JSON. I would like to know what is the best tool to use. FlexiGrid and jQgrid are the top ones on my list although I can not find any examples with FlexiGrid having nested tables (detail tables), which is a must. My question is, wh...

JqGrid add button to advanced search dialog

I'd like to add the ability to save a complex query built up in the advanced search dialog. Saving the generated SQL is no problem, but I'm not sure how to add buttons to the advanced search query dialog to give users the options of saving / loading a query. Any advice would be appreciated. ...

jqGrid caching the grid data

I have a button onclick it should go to a another page containing jqGrid..but if user want to go and see the data it should be cached and show instead of making a call to the server.... form values were cache by default but jqGrid ...how to cache it? ...

Problem in jqGrid sorting

I have a session data which I am binding to jqGrid. I want to implement sorting on jqGrid. For this I converted my session data like DataTable dtProduct = (DataTable)Session["ProductSearchResult"]; dtProduct.DefaultView.Sort = sidx; But sorting is not yet working. If I am missing any other step please tell me. ...