I have a xamGrid that monitors a bunch of Processes. 2 of the fields are Date time fields
if a condition exists I need to be able to set the value of one of the Datetime fields to an empty string.
I cannot do that with a date time field. I cannot use a converter here so I need a way to manipulate the UI
I also only want this manipulation to occur on the specified rows where it is needed.
any ideas?
thanks
Nick
can't change the data type as I'm bound to an entity list and it would cause major problems all over our app. Instead I just set the foregorund to match the background so you cna't see the vlaue. It's a read only screen so my end result is the same.
Hello Nick,
If your field is of type DateTime you would not be able to set the value to an empty string through code behind. If you set the value of this cell to "null" it will display the 01/01/0001.
If you would like to do this, you could change the type to DateTime? and then you will be able to make it empty by setting it to null.
Hope this helps