469,602 Members | 1,741 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

How to disable the DataGridView sorting?

I'm using a DataGridView on a Form. I want to disable the clicking on the
columns headers to disallow the sorting.

How can I do that, but without deriving the DataGridView?

Is there any other way to disable the sorting of the DataGridView without
deriving it?

--
Thanks
Sharon
May 24 '07 #1
1 9265
You can turn this off an a column-by-column basis by using .SortMode

Marc
May 24 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by simchajoy2000 | last post: by
3 posts views Thread by joey.powell | last post: by
8 posts views Thread by Kyote | last post: by
3 posts views Thread by Bruno Neves Pires Silva | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.