Change DataSource in XtraGrid
-
14-10-2019 - |
Pergunta
i have two different Lists.
List<MyClass> list1 = new List<MyClass>();
List<OtherClass> list2 = new List<OtherClass>();
I bind one of them to a xtragrid form devexpress:
gridControl.DataSource = list1;
That works. Now i want to change the list but the columns doesn't change.
Can someone help me?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow