I am not defining FieldLayouts before hand and dynamically binding the Collection of data to the grid at runtime. I have names of certain properties of this data on whom I want to disable the GroupBy feature.For e.g., if I have data on cities I want to prevent grouping by pincode as pincodes are unique and grouping by that doesn't make sense.Is it possible to do this programmatically in XamDataGrid?