I looked through the forums and haven't see anything on this, so I thought I'd post a new post to see if there's an answer or a work-around for my issue.
Summary: If I, at runtime, choose a new DataSource that shares common Column Names with my current DataSource, only the columns with shared names are shown. If there are no shared column names, then all columns are displayed. Note, that I've only tried this with DataTable objects.
How to Reproduce: Given the following four DataTables (with column names listed.)
TableA : (ID, NAME, DESC)
TableB : (ID, NAME, LOCATION)
TableC : (ITEMID, COUNT)
TableD : (NAME, COUNT)
a) RadGridView.DataSource = "TableA" -> All columns are shown.
b) RadGridView.DataSource = "TableB" -> Only ID and NAME are shown
c) RadGridView.DataSource = "TableC" -> All columns are shown.
d) RadGridView.DataSource = "TableD" -> Only COUNT is shown.
If this is a bug, would you happen to know of a workaround in the meantime?
If you need more information, please let me know.
Thanks!
Rob
Summary: If I, at runtime, choose a new DataSource that shares common Column Names with my current DataSource, only the columns with shared names are shown. If there are no shared column names, then all columns are displayed. Note, that I've only tried this with DataTable objects.
How to Reproduce: Given the following four DataTables (with column names listed.)
TableA : (ID, NAME, DESC)
TableB : (ID, NAME, LOCATION)
TableC : (ITEMID, COUNT)
TableD : (NAME, COUNT)
a) RadGridView.DataSource = "TableA" -> All columns are shown.
b) RadGridView.DataSource = "TableB" -> Only ID and NAME are shown
c) RadGridView.DataSource = "TableC" -> All columns are shown.
d) RadGridView.DataSource = "TableD" -> Only COUNT is shown.
If this is a bug, would you happen to know of a workaround in the meantime?
If you need more information, please let me know.
Thanks!
Rob