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

Disable Jqgrid column on clicking on check box (out side jqgrid)

I want to disable jqgrid column based on click. i have a jqgrid and a check box out side from jqgrid when i check the check box particular column should be in disable mode. This is not for particular row it is for all the row ,if i check the check…
abiansh
  • 79
  • 2
  • 2
  • 9
0
votes
0 answers

In mvc application jqgrid is showing page 0 of

In my application all jqgrids are showing page 0 of (nothing is displayed here) on page load without any records in the grid.. where actually it has to show page 0 of 0. even after adding record it will show page 1 of 0 where it has to show page…
0
votes
1 answer

JQGrid MVC Client side event not firing

NOTE: this is the JQGrid MVC component I am asking about which is created in C# server side. I'm trying to get the ClientSideEvents to fire when a row is deleted. ClientSideEvents = new ClientSideEvents() { AfterDeleteDialogRowDeleted =…
ozz
  • 5,098
  • 1
  • 50
  • 73
0
votes
1 answer

How do I deal with 'value' and 'text' properties in a jqGrid combobox column?

I have the Trirand MVC jqGrid package, but I'm sure this question counts for jqGrid as a whole. I have a column bound to an Id: new JQGridColumn { DataField = "PaymentSchemeId", …
ProfK
  • 49,207
  • 121
  • 399
  • 775
0
votes
2 answers

Adding Activate/Deactivate button in MVC jqGrid

I have FormTemplate class in my project public class FormTemplate : BaseEntity { public virtual string Name { get; set; } public virtual DateTime? DateCreation { get; set; } public virtual FormTemplateGroup Group { get; set; } …
Heidel
  • 3,174
  • 16
  • 52
  • 84
0
votes
2 answers

JQGrid set value in cell based on condition

I need to set the JQgrid cell value based on the condition, suppose the variable value is one then i need to set a bike, if it is 2 then i need to set as car, and so on. Can anyone please explain how to achieve this?
user2724215
  • 165
  • 5
  • 16
0
votes
2 answers

How to get the data from subgrid and post to Controller?

I need to post all the subgrid data to MVC controller on click of "Submit" button outside the grid. $("#simpleGrid").jqGrid({ url: '@Url.Action("GetMainGridData")', datatype: 'json', mtype: 'GET', …
Gansun
  • 301
  • 2
  • 7
  • 15
0
votes
1 answer

JqGrid - Rendering Issue

I'm using JqGrid in my ASP.NET MVC application using VS2010.My Grid does not seem to render properly on my view and does not allow me to access other controls(including entire page) on the view. See the screen blow: Grid With Rows in it: Grid…
TJP
  • 85
  • 1
  • 12
0
votes
1 answer

jqGrid grouping rows overriding "spacer" columns that I build into my grid

When I add grouping to a grid it works great other then one problem. The row which contains the grouping information is being built with a colspan for the "width" of the grid and this means it sits on top of some of the vertical columns I build…
Mark
  • 3,123
  • 4
  • 20
  • 31
0
votes
2 answers

Jqgrid local data formated using Jsonconvert not working

I am trying to populate jqgrid with data stored in a hidden field. I have successfully tried the method of populating the grid from serverdata (data type= json). But here I need it this way. Here is what I did: Controller: DataTable myTable=…
Sharun
  • 3,022
  • 6
  • 30
  • 59
0
votes
1 answer

How to set an element ID to a table cell in jqGrid?

In fact, I have 2 Qs: I'm usign jqgrid and I have a column with a custom checkbox formatter (say Passed), a cloumn named ID and some other columns. Q 1) I want to set IDs to cells of Passed column and it should be the value of ID column cells. Any…
Amin Saqi
  • 18,549
  • 7
  • 50
  • 70
0
votes
1 answer

jqSubGrid not loading with data

I do realize many have asked this same question. I have tried all other suggestions and have had no success. I know for sure its something I am overlooking and wanted a second set of eyes to help me. Thanks in advance!! My problem is that the…
superartsy
  • 489
  • 1
  • 11
  • 27
0
votes
2 answers

MVCjqDrid store GridSettings in session

I have a mvcjqgrid: @(Html.Grid("dataGrid") .SetJsonReader(new MvcJqGrid.DataReaders.JsonReader { Id = "Id", RepeatItems = false }) .SetRequestType(RequestType.Post) .AddColumn(new…
Roar
  • 2,117
  • 4
  • 24
  • 39
0
votes
2 answers

Set search options for columns in MvcJqGrid

I can't find a way to set search options for a column? It seem they are set by default and there's no way I can change it. We have this option in Jqgrid: { name: "outputid", index: "outputid", width: 30, searchoptions: { sopt: ['eq']} } When doing…
Sanchitos
  • 8,423
  • 6
  • 52
  • 52
0
votes
1 answer

Filter is not working after making datatype local on grid complete

currently i am facing one issue in jqgrid . After loading grid using ajax call, i am changing the datatype to local on grid complete. After that i m trying to filter but my getting zero records. Any help is appreciated. Below is my…
user1996823
  • 579
  • 1
  • 4
  • 10
1 2 3
10
11