Skip to content

Checkbox instead of title in DataGrid #770

Answered by vnbaaij
madcoda9000 asked this question in Q&A
Discussion options

You must be logged in to vote

Of course! 😉

You can use the HeaderCellItemTemplate parameter for that like this:

<PropertyColumn Title="..." Property="@(c => c.Selected)">
        <HeaderCellItemTemplate>
                <FluentCheckbox Value="false"  @onclick="SelectAll"/>
        </HeaderCellItemTemplate>
</PropertyColumn>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@madcoda9000
Comment options

Answer selected by madcoda9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants