vikramlearning / blazorbootstrap

An Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS frameworks.
https://docs.blazorbootstrap.com/
Apache License 2.0
773 stars 40 forks source link

Access and Modify Properties of Grid Items in BlazorBootstrap #732

Open AlexandreIorio opened 6 months ago

AlexandreIorio commented 6 months ago

Hello,

I am currently working with the BlazorBootstrap Grid component and found that accessing and modifying the properties of items within the grid could enhance functionality significantly. Specifically, I would like to suggest the addition of features that allow for direct manipulation of item properties such as IsChecked.

This feature would be particularly useful for scenarios where the state of individual grid items needs to be modified dynamically, such as toggling a checkbox within the grid. Implementing this could improve user interaction and data handling capabilities within the grid.

Could you consider adding this functionality in a future update?

Thank you for considering this enhancement.

brian-aisin commented 4 months ago

In addition to the above, being able to set a row in the grid as "clicked" would be helpful as well.

An example:

I attempted to set the clicked row through code, but so far haven't been successful.