Code Monkey home page Code Monkey logo

lib.aspnetcore.mvc.jqgrid's Introduction

Lib.AspNetCore.Mvc.JqGrid

NuGet Lib.AspNetCore.Mvc.JqGrid.Helper

A set of libraries which provide support for Guriddo jqGrid and free jqGrid usage in ASP.NET Core.

This is ASP.NET Core evolution of jqGrid related functionality from Lib.Web.Mvc.

  • Lib.AspNetCore.Mvc.JqGrid.Infrastructure - Classes, enumerations and constants representing jqGrid options. Shared by all libraries.
  • Lib.AspNetCore.Mvc.JqGrid.Core - The core functionality. If you prefer to write your own JavaScript instead of using strongly typed helper, but you still want some support on the server side for requests and responses this is what you want.
  • Lib.AspNetCore.Mvc.JqGrid.DataAnnotations - Custom data annotations which allow for providing additional metadata when working with strongly typed helper.
  • Lib.AspNetCore.Mvc.JqGrid.Helper - The strongly typed helper.

Getting Started

All the packages are available on NuGet. You can drag all packages at once by installing the top level one.

PM> Install-Package Lib.AspNetCore.Mvc.JqGrid.Helper

But you can also install only the needed packages if you don't require the full functionality.

PM> Install-Package Lib.AspNetCore.Mvc.JqGrid.Core
PM> Install-Package Lib.AspNetCore.Mvc.JqGrid.DataAnnotations

Documentation

The documentation is available here.

Demos

The demo project is available here.

Donating

My blog and open source projects are result of my passion for software development, but they require a fair amount of my personal time. If you got value from any of the content I create, then I would appreciate your support by sponsoring me (either monthly or one-time).

Copyright and License

Copyright © 2016 - 2024 Tomasz Pęczek

Licensed under the MIT License

lib.aspnetcore.mvc.jqgrid's People

Contributors

tpeczek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lib.aspnetcore.mvc.jqgrid's Issues

WEB api Net5 error

[HttpGet]
public IActionResult Get(JqGridRequest request)
{
}
No service for type 'Lib.AspNetCore.Mvc.JqGrid.Core.Json.IJqGridJsonService' has been registered.

SubGrid: Setting SubGridRowExpanded and SubGridEnabled doesn't produce anything

Hello, I have the following issue. I'm using the SubGrid and I wanted to add custom content into the subgrid (i.e. when the user clicks the plus icon).
To achieve that, I added the following to the view code:

        SubgridEnabled = true,
        SubGridRowExpanded = "showSubGrid",

(showSubGrid is a JavaScript function that loads a dummy page to test).
However, the code generated by the Helper doesn't produce the expected behavior.
In fact, it doesn't add anything related to the SubGrid to the final html.

And I think this is related to the following line:


I think the condition should be similar as the one found in
if ((options.SubgridOptions != null) && !String.IsNullOrWhiteSpace(options.SubGridRowExpanded))

Something like
if ((options.SubgridOptions == null) && !String.IsNullOrWhiteSpace(options.SubGridRowExpanded))
since if I want a custom subgrid, I wont be passing SubgridOptions, but rather SubGridRowExpanded only.

I couldn't test the fix since I don't have a good setup to compile for now, and trying to do that in this PC will be a hassle.

By the way, thanks for this nice library!

Feedback

This issue is for general feedback regarding this project.

Html Tag not recognized

After install all packages using nuget in .net core 2.0 Jqgrid html tag is not recognized.

@Html.JqGridHtml(gridOptions)

 @Html.JqGridJavaScript(gridOptions)

Error:
IHtmlHelper not contains a definition for JqGridHtml
IHtmlHelper not contains a definition for JqGridJavaScript

Using visual studio 2017

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.