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,
Development issue 126319 which Yanko logged for this is addressed in the latest service release and can be downloaded from they My Keys and Downloads page. Please upgrade to the service release to address your issue.
Let us know if you have any questions with this matter.
We're currently in the process of evaluating NetAdvantage for WPF and I've encountered exactly the same problem with changes to a datatable not being reflected in the XamGrid.
I've attached a sample application which demonstrates the problem (code modified from another example found on these forums, disregard the application name).
When clicking the "Modify data" button, all the data in the DataTable are randomly modified. I'm calling DataRow.BeginEdit()/DataRow.EndEdit() and the DataView.ListChanged event is fired after each row has been changed, but the XamGrid still does not update.
Hello Dear,
I am waiting your reply. Please give me a solution as soon as possible, because my project task was not completed until that issue was not fixed.
Let me know in case of any query.
Regards
Sufyan
I have logged this behavior with our developers in our tracking system, with an issue ID of 126319. I have also created a support ticket on your behalf with number CAS-103752-K7N8X4 in order to link the development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.
I have contacted our development team about more information for your first issue.
Regarding your second issue and I can suggest you look into the following link :
http://stackoverflow.com/questions/2940618/what-is-it-about-datatable-column-names-with-dots-that-makes-them-unsuitable-for
Here you can find the reason for it.
Please in future create a separate forum thread for each new question. This way other visitors of our community can get benefit from it.