Ax 2012 changing property of a line in a grid

Hi,

When i enter a form, i would like to change the color of a line in a grid depending of the data in that grid.

Example: in a grid that list all the invoice proposal, i would like to change de color of the lines for the proposal that been cancel.

What method should i modify to change the properties of the grid, for each line?

Thanks.

Override displayOption() method of the data source. There is an example in the documentation; use “displayOption” as a keyword for a search engine to find more examples.

Thank you Martin, that’s exactly what i was looking for.