Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

DataGridView - suppressing auto-sort / re-sort

$
0
0
Hello,

Hope you guys could help me or give me some tips/hints how to go with it.

My SortMode is set to Programmatic and sorting is triggered once header is click. Sorting columns in my DataGridView is OK both ascending and descending. Once, I edit or change a cell value, this column is automatically sorted - which I dont want to happen. IS there a way to suspend or suppress this? I only wanted to have sorting on demand (only every header click) and no auto-sort after every cell change value.

Your help is highly appreciated...

Thanks
MArvin

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>