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

Feat/text column formatting #283

Conversation

giard-alexandre
Copy link

@giard-alexandre giard-alexandre commented Apr 19, 2024

Closes #278

Adds the property StringFormat to TextColumnOptions. This new option allows us to specify a custom string format for each cell, without needing to use TemplateColumns.

@giard-alexandre giard-alexandre marked this pull request as ready for review April 20, 2024 05:31
@giard-alexandre
Copy link
Author

Ready for review!

Copy link
Member

@grokys grokys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @giard-alexandre ,

Thanks for this. I've taken a look and can see a problem when the text column is editable. For example, if I change the GDP column in the "Countries" sample to be editable, then I get a FormatException when editing the value in the UI

@giard-alexandre
Copy link
Author

Fixed by #283

@giard-alexandre giard-alexandre deleted the feat/text-column-formatting branch November 8, 2024 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add StringFormat to TextColumn<TModel,TValue> options
2 participants