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
11
votes
2 answers

The method 'OrderBy' must be called before the method 'Skip' Exception

I was trying to implement the jQgrid using MvcjQgrid and i got this exception. System.NotSupportedException was unhandled by user code Message=The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be…
nebula
  • 3,932
  • 13
  • 53
  • 82
3
votes
1 answer

Jqgrid search options not working for date column

I have a jqgrid with a date column in it. But while doing the search operation on that date column, it doesn't yields any result, even though the data as per the search criteria is there in grid. I am unable to find out the problem why the search is…
Priya
  • 121
  • 1
  • 2
  • 16
3
votes
1 answer

How to delete multiples registers in jqgrid using asp.net mvc?

Could you please help me how I could do to delete multiple records selected in my jqgrid? I've tried a number of ways, but so far not got any success. I will be grateful to anyone who can help me. jQuery("#grid-table").jqGrid({ //direction:…
David
  • 269
  • 1
  • 3
  • 10
3
votes
1 answer

How to do colspan and rowspan to jqGrid header?

Kindly see the following image. How would I achieve the same span in cols and rows ?
psms
  • 851
  • 3
  • 18
  • 35
2
votes
1 answer

Pass RowData to Custom_func in Jqgrid

I have a jqgrid with certain columns. I am trying to call a custom_function to validate the cell value. I am also getting a regular expression from the database into rowData, which I want to use to validate the cell value. var ret =…
tanuj shrivastava
  • 722
  • 3
  • 9
  • 21
2
votes
0 answers

JQgrid Paging with group instead of rows , how to do?

i am using jqGrid , and i have done paging and grouping by deparment , i have more then thousand rows and for each department more then 200 rows and i am showing 100 rows per page , so problem is in each page i can see only one group with first 100…
Abhijit Pandya
  • 705
  • 2
  • 12
  • 33
2
votes
1 answer

JQGrid Frozen column with jsonstring datatype

I have dynamically generated jqgrid with datatype "jsonstring". Seems .jqGrid('setFrozenColumns'); not working properly. Only Headers are freezing not the actual data rows. When i sort the grid frozen column working. but it break the layout. below…
Mahesh
  • 2,731
  • 2
  • 32
  • 31
2
votes
1 answer

jqgrid checkbox select all, clear all

I want to select checkbox when i click on select all button. get the selected values when click on get selected button. I am able to do this when multiselect is true. But I am using checkbox for IsEmployeeActive with out multiselect true. how can I…
bommina
  • 307
  • 4
  • 16
2
votes
1 answer

error Status: 'Internal Server Error'. Error code: 500 in MVC4 JQgrid Edit and Delete

Hi i started working on JQgrid, and it works fine for add,search and all, but when i delete the record its fetching me the error as my post says. its not entering to the delete and edit controller action itself, i checked by putting break points in…
2
votes
0 answers

How to use jqgrid inlinenav edit and save functionality

Need help in understanding the approach for Jqgrid inlineNav Edit and Save functionality.. I could not find any previous topic which explains how we do the Edit & save using Jqgird inLineNav + .net MVC.. If we have any can you point me in right…
RajGan
  • 801
  • 3
  • 13
  • 28
2
votes
0 answers

Working example for treegrid using MvcJQgrid

I want to use the Treegrid which is from here: http://mvcjqgrid.skaele.it/Home/TreeGrid I am not able to find a working sample with the controller, model code needed to get it working. I have been using the normal grid version and like the grid…
Arathy T N
  • 306
  • 3
  • 13
2
votes
1 answer

AsQueryable() returns NullReference Exception not handled by the User "Object reference not set to an instance of object"

I'm a newbie to ASP.Net MVC 4.0 and I'm trying to use Trirand's JQGrid populating data from database. I'm getting the above error when I try to bind the data to JQGrid. The error is at the below line return…
siv
  • 91
  • 1
  • 5
  • 14
2
votes
2 answers

Can we create List at runtime?

Yes, i want to create a List and my T is user defined data type i.e. POCO Class e.g. UserProfile. Why : i am using MvcJqGrid and i want to write a generic code for creating the Json data so at runtime i come to know from which class(table) i need…
d.Siva
  • 1,140
  • 3
  • 20
  • 42
2
votes
1 answer

How to modify paging bar using MvcJqGrid

I just started using the MvcJqGrid library, which is SO nice! I have the following code: @(Html.Grid("jqgUserGrid") .SetUrl(@Url.Action("GetUsers")) .SetRequestType(MvcJqGrid.Enums.RequestType.Post) .AddColumn(new Column("ID") …
Scottie
  • 11,050
  • 19
  • 68
  • 109
1
vote
2 answers

How to parse data from Controller to view using JQGrid?

I am trying to pass data from controller to GQ grid. I have done implemented the SQL operation - selecting a row- in another file and returning a object of list type List to the Controller. I implemented the controller…
1
2 3
10 11