3

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?

tinu
  • 558
  • 5
  • 18

1 Answers1

6

Call gridView.PopulateColumns().

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964