Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2945
Selected row Forecolour
posted

Am I correct in thinking that the normal way to set the selected row forecolor is using  DisplayLayout.Override, but this will only give me a single colour per grid?  So for example, if I want a different forecolor depending on data in that row it won't work?

So then the solution would be to use DrawPhases - I can change the colour of most text by setting drawParams.AppearanceData.ForeColor in the DrawElement function on the BeforeDrawForeground phase, however, this doesn't work on all column types, for example DateTimes and URLs. 

Is there a different phase or attribute I should be checking/changing?

Thanks,
Campbell