MatBlazor icon indicating copy to clipboard operation
MatBlazor copied to clipboard

Table row checkbox multi select

Open senabd opened this issue 5 years ago • 3 comments

Describe the question I have implemented MatBlazorTable and first columns has MatBlazorCheckbox. I couldnt find how to implement Select All feature.

Expected behavior I would like to add Select All button to select all items in the table with checkboxes.

Screenshots Before click button image

After click button image

senabd avatar Mar 12 '21 12:03 senabd

@senkadir This seems like a good first issue for you to contribute. Take a look at MatTable.razor. You should be able to add some a button in the

<MatButton Id="SelectButton">... to do it. Once you get it working on your own then review the MatBlazor code and implement a new Compenent to use in. Something like <MatSelectAllButton ColumnName="ColId"> or something like that seems fairly straight forward.

enkodellc avatar Mar 26 '21 19:03 enkodellc

@fatihadymn

@besinci

senabd avatar Apr 01 '21 12:04 senabd

@senkadir This seems like a good first issue for you to contribute. Take a look at MatTable.razor. You should be able to add some a button in the ... to do it. Once you get it working on your own then review the MatBlazor code and implement a new Compenent to use in. Something like or something like that seems fairly straight forward.

@enkodellc Implementing Select All funcationallity could be so easy to access some parameters which already exists on object.

image

Selected properties in the image would be accessible (Read only properties maybe) it could be so easy to implement Select All functionality.

Can we improve it?

senabd avatar Apr 06 '21 09:04 senabd