I always insert the data into the grid at the end of it.
And the red color of the insert and replace data
I had a problem occurs.
If the user sorts the grid
My data is inserted at the same time shifts to a specific position.
(Because the user is set up sort.)
I replaced the red color at the bottom.
I at the end of the other data was changed to red.
This is an error.
How do I keep track of my data sorted, go to I can change the color to red?
Add to my data when the grid
user is not select sort grid
. Rows (. Rows.Count - 1) were tracked by the index.
However, if the user sets the sort
It points to the wrong line.
I always add the data I want to get the index.
Regardless of user sort.
Please sign in to leave a comment.