This is a migrated thread and some comments may be shown as answers.
Column reorder and rebind grid
2 Answers 7 Views
This is a migrated thread and some comments may be shown as answers.
Tiberiu
Top achievements
Rank 1
Tiberiu asked on 29 Sep 2016, 12:25 PM

Hi,

I have a grid with column freeze, and auto generate columns false. After I change one column order I am trying to rebind the grid to another datasource that doesn't contains that column and I have an error: "Cannot find a column with UniqueName 'MyColumn'". If I don't do reorder columns everything works fine.

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 04 Oct 2016, 09:11 AM
Hi Tiberiu,

Can you please share your page markup and related code behind so that we can revise the RadGrid configuration and advise you further on this issue?

Regards,
Maria Ilieva
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Tiberiu
Top achievements
Rank 1
answered on 04 Oct 2016, 09:38 AM
I've managed to fix my issue, I've opened a ticket and I've found out is not a supported scenario what I wanted to do. I was changing the columns structure, and I've stopped doing that and just load all of them and show/hide what I need.
Tags
Grid
Asked by
Tiberiu
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Tiberiu
Top achievements
Rank 1
Share this question
or