blazorbootstrap icon indicating copy to clipboard operation
blazorbootstrap copied to clipboard

How can I make the filter button on the grid invisible?

Open nanenchanga53 opened this issue 6 months ago • 1 comments

How can I make the filter button on the grid invisible?

image

nanenchanga53 avatar Dec 14 '23 01:12 nanenchanga53

Hi I managed to achieve this only by forcibly prescribing styles. I assigned a custom class(grid-btn-hidden) to the Grid tag and set "display: none !important" in css I did it in such a way as to hide a specific button

.grid-btn-hidden thead th:nth-child(2) div button { display: none !important; }

where instead of 2 is the number of the column where you need to hide the button

This is far from the way I would like to use to solve the problem, but no other ideas came to my mind.

I hope this helps

Jyrs avatar Jan 21 '24 16:01 Jyrs