Unable to rearrange DataGridTemplateColumn

Nov 27, 2012 at 12:33 PM
Edited Nov 27, 2012 at 12:38 PM

Hi,

I have bind datagrid with datatable.defaultview.

Then, in datagrid_AutoGeneratingColumn event,

when a particular column name is found, i have replaced that particular column with DataGridTemplateColumn, 
other columns are DataGridBoundColumn columns.

Now if I try to reorder the columns, it gives error

Unable to cast object of type 'ExtendedGrid.Microsoft.Windows.Controls.DataGridTemplateColumn' to type 'ExtendedGrid.Microsoft.Windows.Controls.DataGridBoundColumn'.

 

Please let me know how to do this.

Best Regards,
wpal25 

Coordinator
Nov 28, 2012 at 3:38 PM

Hi,

Can you please post a sample project? 

Regards,

bpoojary

Nov 29, 2012 at 9:07 AM

Hi,

I attached a sample project under issue tracker.

 

Regards,

Wpal

Dec 5, 2012 at 6:27 AM

Hi,

Did you find any solution??

Did you see a sample project??

 

Regards,

wpal

Coordinator
Dec 5, 2012 at 2:11 PM

Hi,

I have fixed the code. Please take latest and try.

Regards,
Bpoojary

On Dec 5, 2012 11:57 AM, "wpal25" <notifications@codeplex.com> wrote:

From: wpal25

Hi,

Did you find any solution??

Did you see a sample project??

Regards,

wpal

Read the full discussion online.

To add a post to this discussion, reply to this email (WPFExtendedDataGrid@discussions.codeplex.com)

To start a new discussion for this project, email WPFExtendedDataGrid@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Dec 12, 2012 at 6:19 AM

Hi,

Sorry for late reply.

Yes, latest code is working properly.

Thank you.

Best Regards,

wpal