Replies: 2 comments 3 replies
-
|
You can use DataTemplates for the cells and call your i18n functions there. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
DataGridTextColumn doesn't appear to have a template property... DataGrid has but it doesn't do anything: can you provide an example? Thanks! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking at https://github.com/fsprojects/Avalonia.FuncUI/blob/master/src/Examples/Examples.DataGridPlayground/Program.fs to see how to bind data to a grid, but I need to call functions here, since I have a functional i18n implemented, for instance I need to call Name(Lang.French) or Name(Settings.Lang) to get the proper version of a content to display: how can I do that in FuncUI ?
Beta Was this translation helpful? Give feedback.
All reactions