Datagridview column reorder problem
Posted on 2009-03-31
i have implemented a datagridview with column reorder functionality. it is working fine, like a am able to drag and drop columns whereever i want them.
now the problem arises when i put a for loop to check the current position of columns, the current position is still unchanged i.e. i put II nd column to the position of iV th column but still i get column 2 at IInd position.
Column reorder doesn't affect the actual column position.
any sort of help would be appreciated.