Using third-party JS libraries

Until now, we have learned how to invoke a JS method from a C# method and vice versa using JavaScript Interop. Sometimes, however, we may need to use a third-party JS library in our application to enhance user experience. We can show graphs, grids, and even animation using open source JS libraries.

In this section, we will learn how to use jsGrid, a lightweight grid jQuery plugin. jsGrid displays data in a grid and offers many built-in features, such as sorting, filtering, pagination, and inline editing, that can be used on data. You can visit http://js-grid.com/ to learn more about the jsGrid library.

It's now time to create components by adding the JsGridDemo.cshtml and JsGridDemo.cshtml.cs files in the Pages ...

Get Blazor Quick Start Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.