title: Change cell value of DataGrid based on column data type
body: <p>I am using WPF <code>DataGrid</code> to display a <code>DataTable</code>.
  I am using <code>AutoGenerateColumns = True</code>  to auto-generate the columns as the <code>DataTable</code> is set dynamically.</p>
  
  <p>I need to change the cell value(s) of a column if it is of a particular data type. 
  For example if the Column datatype is <code>DateTime</code>, then I need to display some <code>string</code> in its place.</p>
  
  <p>I checked <a href="http://msdn.microsoft.com/en-us/library/system.windows.data.ivalueconverter.aspx" rel="nofollow">IValueConverter</a>. How would I attach such a converter to DataGrid columns which are generated dynamically ?</p>