Hi,
Is it possible to sort the tri-state box with the following order?
Ascending order
Unchecked
Half Tone/Grayed Box
Checked
When I sort the tristate checkbox the following order displayed on screen.
Regards,
Njel
njel_valdez said:In what event should I apply the SortComparer?
I recommend using the InitializeLayout event. But any event that fires after the grid has columns and before you actually try to sort should work.
Hi Mike,
I already implemented the solution that you recommended.
It works like a charm.
Thanks and regards,
In what event should I apply the SortComparer?
Thanks for the input, I will give it a try.
Hi Njel,
You can apply a SortComparer to the grid column and thus sort it any way you want.