Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to change background color for modified cells

$
0
0

This example demonstrates how to highlight grid cells that have been edited by a user. Please note that cells won't be highlighted if data is changed at the data source level.

Question Comments

Added By: Jared Hayden at: 9/27/2012 8:53:02 AM    

This method is terrible. you are creating an IsEdited_ column for every column created and hiding that column. Just to store a Boolean. DevExpress doesn't have a better way of changing the color of a modified cell?

Added By: Alexander Ch (DevExpress Support) at: 12/9/2013 10:36:06 PM    

Indeed, this approach implies that you don't have many columns or you wish to highlight cells only for specific fields. Otherwise, I suggest that you choose one of the approaches described in the following links:

http://www.devexpress.com/Support/Center/Question/Details/Q434526

http://www.devexpress.com/Support/Center/Example/Details/E4025

Added By: Marek Sienczak at: 9/21/2017 11:19:32 PM    How to use this example to apply this feature for TreeListControl? Changing the GridControl to TreeListControl doesn't help due to lack of compatibility within functions and properties. 

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>