Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

VS 2010 [RESOLVED] Datagridview issue with column sort

$
0
0
ok so here's my problem..hope i explain it in an understandable fashion lol

ok in my gridview i'm using the default sorting..i have one column called status..this is where the percentage of file downloading is displayed.
if a file is waiting to be downloaded it's cell says 200
If a file has been downloaded it says Complete
if the file is in the process of being downloaded then of course it shows the percentage( 20%, 40% etc)

if i click the header to sort the column so that all rows that have a status of 200 are at the top of the gridview..and then start any of them downloading..as soon as i click anywhere on the gridview the whole thing resorts and the percentage ends up displaying on the wrong item..
if i start a download without sorting on any column then everything stays right where its supposed to be even if i start the 10th row downloading etc.

how can i stop the resorting whenever i start a download after sorting from the status column

Viewing all articles
Browse latest Browse all 27348

Trending Articles



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