Set the fields as classes for datagridcells