472,127 Members | 1,612 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

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?

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

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.