philippdolder / blazor-explore

My blazor explorations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blazor-explore

My blazor explorations

Table with Row and Column selection

I was struggling to build a table that allows not only row selection, but also column selection where each cell should be highlighted. So now I figured out a way to achieve exactly what I want in a simple sample. This is the cleanest approach I could find, without requiring a lot of sophistication. This is sample code, but feel free to take the ideas and apply to your real world application.

If you have a better way to do this, please reach out on twitter

About

My blazor explorations

License:MIT License


Languages

Language:HTML 49.1%Language:C# 31.0%Language:CSS 19.9%