Hi, I am using XamGrid, I change the itemsource at run time when page load grid is displayed. but when i changed the itemsouce at run time my Datatable was updated but grid not updated. Please help me.Here is my code.<ig:XamGrid Grid.Row="1" Name="radGridView1" AutoGenerateColumns="True" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Auto" ItemsSource="{Binding GetRawData}" IsAlternateRowsEnabled="False"> <ig:XamGrid.Columns> <ig:TextColumn HeaderText="Date" Key="Date" FormatString="{}{0:MM/dd/yy}"></ig:TextColumn> </ig:XamGrid.Columns> </ig:XamGrid>GetRawData is a datatable first time when page is loaded grid was populated. but when i changed the datatable at run time according to parameters datatable was updated but grid not updated.RegardsSufyan
Hello,
Thank you for your post. I have been looking into your issue and I created a sample application(XamDataGridBindToDataTable.zip) in order to reproduce it with success. Would you please look through it and modify it in order to meet exactly your scenario in order to provide you with more accurate assistance.
Looking forward to hearing from you.
I changed sample according to my requirement. My datatable is changed at runtime even column's are changed. Sample is attached.