Skip to content
Fluent jqGrid Html Helper for ASP.NET MVC. JqGridForMvc is most simple and popular JqGrid plugin that can be used to quickly create a commercial request form. We are also pursuing: "write less, do more", if you have any questions or help with it you can send email to me or contact me
C# Other
  1. C# 99.9%
  2. Other 0.1%
Branch: develop
Clone or download
Latest commit ad3e00c Oct 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update GridPagerExtention.cs Apr 24, 2017
.gitattributes Create .gitattributes Oct 15, 2019
.gitignore Initial commit May 20, 2016
LICENSE Initial commit May 20, 2016
README.md Update README.md Jan 3, 2018

README.md

JqGridForMvc

JqGridForMvc is most simple and popular JqGrid plugin that can be used to quickly create a commercial request form. We are also pursuing: "write less, do more", if you have any questions or help with it you can send email to me or contact me

Installation

Install-Package HalowerHub.Jqgrid

Sample Code

Here is a simple example, but JqgridForMvc has supported the most common Jqgrid operation, there is time to do supplementary examples

@model UserDto
@{
    var g = Html.JqGridKit();
}
<div class="row" style="margin-top: 10px">                              
    @(                                  
    g.JqGrid("userlistGrid", g.Param(p => p.Id)).MainGrid(                                
        g.GridColumn(x => x.Id, 300),                                   
        g.GridColumn(x => x.UserName, 300).Searchable(),                                    
        g.GridColumn(x => x.PhoneNumber, 300).Searchable(),                                    
        g.GridColumn("options",150, "custom html fragment")                                 
        )                                  
        .Caption("user grid").Height("150")                        
        .Url(Url.Action("UserListData", "Account")).Multiselect()                        
        .Pager().PerClearCache().MultiSearch().AutoWidth()                          
        .BuiltInOperation(GridOperators.Refresh | GridOperators.Search | GridOperators.Add)                                  
    )                               
</div>

or:SubGrid #back-end -code(Only a word)

public ContentResult UserListData()
{
    return Content(dataSource.Pagination(this));
}
You can’t perform that action at this time.