Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FluenDataGrid and PropertyColumns: Header and Value Colors Do Not Differ as Expected #3106

Open
thieng101 opened this issue Dec 27, 2024 · 1 comment
Labels
needs: repro code or repository The provided description or code is insufficient to repro the issue

Comments

@thieng101
Copy link

🐛 Bug Report

The PropertyColumns component is expected to have a different color than its corresponding header, as shown on the demo website. However, it currently does not

💻 Repro or Code Sample

  1. Create a Blazor template
  2. Try to implement FluentDataGrid like in the demo website (make sure you connect it with a data source as well)

<FluentDataGrid Style="min-width: max-content;" Items="@FilteredItems" ShowHover="true" TGridItem="OrderFulfillmentStateViewModel" Pagination="_paginationState" OnRowClick="HandleRowClick" GenerateHeader="GenerateHeaderOption.Sticky">

<PropertyColumn Width="200px" Align="Align.Start" Title="Order ID" Property="order=>order.OrderId" Style="color: #af5f00 ;" />

🤔 Expected Behavior

PropertyColumn should have text-color (#af5f00) and its header text-color should be black.

😯 Current Behavior

The header and the column have the same color (#af5f00)

🔦 Context

This issue is important because having distinct colors for the PropertyColumns and their corresponding headers enhances the visual clarity and usability of the interface. It is also a production project so I'm trying to bring the best user interface to my client.

@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Dec 27, 2024
@vnbaaij vnbaaij added needs: repro code or repository The provided description or code is insufficient to repro the issue and removed triage New issue. Needs to be looked at labels Dec 27, 2024
@vnbaaij
Copy link
Collaborator

vnbaaij commented Dec 27, 2024

Hi. As I said on Discord, please make sure you post ready to run demo code. If we go copy the code from the demo, chances are that it will work for us as expected (as it is working on the demo site) Just create a zip of your project or supply a link to a repo.

Standard reply below...

Please supply us with ready-to-run reproduction code in the form of something we can copy/paste, a (zipped) project structure or a GitHub repository.

We do not have capacity to craft or compose a reproduction for every issue that gets raised.

If no code or repository is provided, this issue will be closed in 3 days

Help us to help you. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: repro code or repository The provided description or code is insufficient to repro the issue
Projects
None yet
Development

No branches or pull requests

2 participants