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,
One thing more when we use slash in datatable column like "Drug / Medicines". Drug column is added in attached solutions. When we add slash in column than only header text displayed but values not visibles. Please also check that issue. We have some columns with slash to display in grid. Columns not specific they changed at runtime. Therefore we did not use Template columns.
I changed sample according to my requirement. My datatable is changed at runtime even column's are changed. Sample is attached.
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.