Telerik UI for Blazor Grid Demos

Blazor StateHasChanged() Jan. 24, 2019

This week on Blazor StateHasChanged(), we take a tour of the Telerik UI for Blazor Grid. On the show we saw how to install the Telerik UI for Blazor. We learned how to add a local NuGet package, declare dependencies, fetch css styles and use the grid in our project.

Adding the CSS

For the demos LibMan was used to get CSS resources. There are currently 3 themes for Telerik UI for Blazor. Adding this libman.json file to the root of your project will add the dependencies.

Adding a button column follows a similar pattern, but we use a the @{} syntax within the template. The button OnButtonClick event passes custom parameters to the handler by a simple lambda expression where the argument is the current item in the grid row.