0

Initially my DevEx xtra GridControl's mainView has a Column with field F1. (I had used reflection to add a column to the mainview .)

Now at runtime ,i want to change the dataSource. The new dataSource has a field F1. How do i make sure that only those fileds are shown which were added by me earlier. I dont want all the fields of datasource to be shown in the gridControl.

KhannaB7
  • 265
  • 5
  • 17

1 Answers1

0

Call gridView.PopulateColumns().

erictrigo
  • 989
  • 2
  • 13
  • 41