Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
changeset 163:d533f3b3ba1e
Fixes #293: Remove sorting from stats data grids
* Simple fix - set "Sort Mode" to unsortable
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 05 Jul 2010 20:08:39 +0000 |
parents | ef97d603c260 |
children | e0e5af2a934c |
files | FrmUnit.cs |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }