HowTo style some specific cells insideof a New-UDDataGrid?

Product: PowerShell Universal
Version: 4.2.14

Hello everyone!

I would like to format some cells in a DataGrid depending on some specific criteria.

Here’s my use case : I’m displaying static data in a New-UDDataGrid from a text file. I inserted a button in each row to be able to edit some specific fields. When a field is updated, I store this data in another text file (in the future in a DB).

I would like to highlight or underline the text in a cell in order to show the user that this specific cell has been manually edited.

How can I do that?

I’m pretty sure I could play with specific CSS classes and update dynamically the table but I have no clue about how to do this. Furthermore, I’m very bad with CSS.

I would be eternally grateful if anybody could help me solve this.

Thanks,
Arnaud