gastao Posted May 15, 2012 at 06:24 PM Report #455833 Posted May 15, 2012 at 06:24 PM existe alguma função ou parametro que me bloquei eu ao carregar num dos titulos da minha datagridview e ela ordenar? é que ao fazer isto ela rebenta me completamente o programa...
gastao Posted May 15, 2012 at 06:29 PM Author Report #455838 Posted May 15, 2012 at 06:29 PM (edited) Dim i As Integer For i = 0 To DataGridView1.Columns.Count - 1 DataGridView1.Columns.Item(i).SortMode = DataGridViewColumnSortMode.Programmatic Next i fazendo desta forma resolve para quem precisar Edited May 15, 2012 at 06:30 PM by gastao
Caça Posted May 15, 2012 at 10:48 PM Report #455939 Posted May 15, 2012 at 10:48 PM Para bloquear definitivamente, deves seccionar a opção NonSortable. Pedro Martins Não respondo a duvidas por PM
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now