ListView ColumnReordered


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Legal. Wink
estebanvz
estebanvz
StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)
Group: StrataFrame Users
Posts: 5, Visits: 220
Ivan,

Grato, já me deu uma luz....

Vou fazer uns testes.

Depois te informo. ok

Abraxxxxxx...

Esteban
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Olá Esteban.

O controle ListView não trás nativamente nenhuma opção para salvar a ordem de suas colunas. Porém, há alguns artigos na net que mostram maneiras de se implementar esta opção, geralmente guardando a informação no registry do windows ou algum arquivo XML. Aqui vai um publicado no Code Project:

http://www.codeproject.com/KB/cpp/listview.aspx

Espero que ajude.

Abraços.


 
estebanvz
estebanvz
StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)StrataFrame Beginner (27 reputation)
Group: StrataFrame Users
Posts: 5, Visits: 220
Prezado Ivan,

Gostaria de saber como poderia utilizar o evento "ColumnReordered" em um ListView

Bom,

Montei um Listview que retorna os dados de um BO.

Porem gostaria que o usuario mude a ordem das colunas, fiz uns teste e é só selecionar e arrastar, que ela muda de posição.

Quando o usuário mudar as posições das colunas conforme o gosto dele ele deveria ter uma forma de salvar a nova configuração em algum lugar.

Pode ser na base de dados vinculado ao usuario dele.

Mas como posso fazer isso?

Att.

Esteban
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search