# HG changeset patch # User IBBoard # Date 1278360519 0 # Node ID d533f3b3ba1ef4b3b0f49c62b27615c8e73a7f71 # Parent ef97d603c2600dea6105f638594a6e3769ee34c1 Fixes #293: Remove sorting from stats data grids * Simple fix - set "Sort Mode" to unsortable diff -r ef97d603c260 -r d533f3b3ba1e FrmUnit.cs --- a/FrmUnit.cs Sat Jun 19 15:17:21 2010 +0000 +++ b/FrmUnit.cs Mon Jul 05 20:08:39 2010 +0000 @@ -176,6 +176,7 @@ col.Name = slotName; col.HeaderText = slotName; col.DataPropertyName = slotName; + col.SortMode = DataGridViewColumnSortMode.NotSortable; col.CellTemplate = new StatsDataGridViewCell(); return col; }