Questions tagged [mvcjqgrid]

Simplifies the implementation of jqGrid in ASP.NET MVC applications.

Definition:

MvcJqGrid is an HTML helper for ASP.NET MVC which eases the implementation of jqGrid in your website or web application.

The helper contains a fluent interface providing for a clean and readable view.

Most of the properties, events and methods from the base classes of jqGrid are implemented in the helper, including paging, sorting, and toolbar searching.

At this point, editing, and subgrids are not yet supported. Treegrids are only basically supported.

A modelbinder for handling AJAX requests from the grid is also included in the library (you can use your own if you want to).

The modelbinder and the helper don't depend on each other.

Important Links:

157 questions
0
votes
0 answers

JQGrid Edit Form does not get focus on submit button

I have started to use JQGrid with version 4.6 since last few days. I have used jqgrid data form to insert and update data of the grid. In the form I have used several text-boxes. I get focus to next text-box by pressing tab key as usual. This works…
Kartik Jajal
  • 732
  • 4
  • 10
  • 16
0
votes
2 answers

add,edit,search,page button in below JQgrid MVC4

I use the Following way of method to bind the data in JQGrid.It working Fine. My question is,The buttons like add,edit,page,search... in bottom of the grid(which is highlighted in the ReferImage) does not show. How to insert add,edit,search,page…
V.V
  • 875
  • 3
  • 25
  • 54
0
votes
1 answer

Jqgrid column default filtering is not working

i have a Jqgrid with 3 columns. I want to filter Status: Active records at Jqgrid load time. at present it is loading all records. below is my ColModel $("#Grid").jqGrid({ url: Link, datatype: 'xml', cache: false, …
Sudharshan
  • 76
  • 4
0
votes
1 answer

return mvcjqgrid gridsettings to action controller by jquery post not working

Good Day Everyone, I'm using MvcJqGrid(https://github.com/robinvanderknaap/MvcJqGrid) to display my data in my project. I'm trying to pass the current jqgrid settings by jquery post, but i am not able to get it in the action controller. it seems I'm…
Romeo
  • 1,791
  • 8
  • 25
  • 41
0
votes
1 answer

Forcing jqGrid to get values from database on click of a hyperlink (anchor tag)

Is there a way in which I can force the jqGrid to get the data again from the database by clicking on a hyperlink which is say, "Get Data Again" ?? While at it, does reloading the grid using the .reload() function force the grid to get the new…
valyrian
  • 195
  • 1
  • 1
  • 11
0
votes
1 answer

Jquery Grid having issue

Hell Friends, I have this in my model class.. using System; using System.Collections.Generic; using System.Linq; using System.Web; using Trirand.Web.Mvc; using System.Web.UI.WebControls; namespace JqGridModel.Models { public class JqGridModel …
user300485
  • 525
  • 5
  • 11
  • 24
0
votes
0 answers

Searchbox of a searchable column in jqgrid should be disabled

I know that jqGrid can make a programmer's life easy by taking care of small things by itself. But I just want it not to do some things for me and I don't know where and how I should tell the jqGrid so. When a searchable column in the grid is…
valyrian
  • 195
  • 1
  • 1
  • 11
0
votes
0 answers

Select current value instead of text in a grid with inline editing

By default jqGrid considers the text value to set the selected option in a combo box. How can I add a column for the key value and have jqGrid selecting the right option using the key value? I've been using the custom formatter, but some pages are…
juliano.net
  • 7,982
  • 13
  • 70
  • 164
0
votes
1 answer

How to bind property to textbox control in jqgrid

I want to bind the textbox control with object's property. As in below code, its all work fine except, textbox control not bind the asspciated property mentioned in "name,index". Below is my jqgrid code: $('#g).jqGrid({ ajaxGridOptions:…
dsi
  • 3,199
  • 12
  • 59
  • 102
0
votes
1 answer

How to change color theme and font size of jqgrid

I have created application in MVC 4, jquery and jqgrid. I have used jqgrid in one of page as below: $('#g).jqGrid({ ajaxGridOptions: { error: function () { $('#g')[0].grid.hDiv.loading =…
dsi
  • 3,199
  • 12
  • 59
  • 102
0
votes
0 answers

Expand IQueryable to use custom linq extension

For using MVC JqGrid following this tutorial I'm adding some Linq extensions, basically these: public static IQueryable OrderBy(this IQueryable query, string sortColumn, string direction) { //... return…
mitomed
  • 2,006
  • 2
  • 29
  • 58
0
votes
1 answer

How do you add column search filter on JqGrid on sever-side code?

I'm passing Json data to the JqGrid table through my controller? I want paging and sorting to be done through my controller as well as filter/search.This is a dynamic search-filter so searchOnEnter = false. I don't want loadonce = true because it…
user3151548
  • 25
  • 1
  • 6
0
votes
1 answer

jqGrid cell in edit mode only for inline add

How can I enable one column to be editable only if it's in a new row? This column must be read-only in existing rows when in edit mode. The editable attribute works for new and existing rows.
juliano.net
  • 7,982
  • 13
  • 70
  • 164
0
votes
1 answer

jqgrid paging issue - Not loaded data with page

I am using Jqgrid with customized Edit, Delete buttons. Also , I am using external search to search in grid. I am fustrating with one problem since two days. Please check my code below of binding jqgrid jQuery(document).ready(function () { var…
Lajja Thaker
  • 2,031
  • 8
  • 33
  • 53
0
votes
1 answer

Add new row with a default value

I'm using the following code to fill one of the cells of a new row with a default value, but this is not working (the cell is empty). Is this code ok? var parameters = { rowID: "new_row", …
juliano.net
  • 7,982
  • 13
  • 70
  • 164