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

Doco: Can you nominate formatting for particular columns(properties)? #70

Open
callagga opened this issue Mar 16, 2024 · 2 comments
Open

Comments

@callagga
Copy link

Doco: Can you nominate formatting for particular columns(properties)? Can I get a coding example please?

For example in a column/property was say an "balance" (e.g. decimal) and I wanted to apply the formatting such as "this.Balance.ToString("c", CultureInfo.GetCultureInfo("en-AU"));".

@ericnewton76
Copy link

its all strings, so just add the string value to the row yourself.

@HaxtonFale
Copy link

But then you lose the number alignment.

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

No branches or pull requests

3 participants