(sorry for my bad english)
when i user binding:
xaml:
<Grid Name="Fgrid_bjDetail">
XamTextEditor Name="D_Fxte_Remark" Text="{Binding REMARK}"
</Grid >
code:
Private Sub xdg_ImpForecast_SearchList_MouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Input.MouseButtonEventArgs) Handles Fxdg_ImpForecast_SearchList.MouseDoubleClick
Fgrid_bjDetail.DataContext = CType(xdg_ImpForecast_DetailList.ActiveRecord, DataRecord).DataItem
End Sub
...
Private Sub D_Fxte_Remark_TextChanged(ByVal sender As Object, ByVal e As System.Windows.RoutedPropertyChangedEventArgs(Of String)) Handles D_Fxte_Remark.TextChanged'''''''can get cell value
Debug.Print(Now.ToString & "---" & Fxdg_ImpForecast_detailList.GetCellValue("REMARK") & "---") End Sub
but in Form xamdatagrid's cell value can't display
note: if i clicked the xamdatagrid and xamdatagrid lost focus,cell value can display !
wondering.....
thanks!
Hello,
I was not able to understand exactly where the problem is - there is too much code missing, but I think that the issue is coming from the fact that in some cases the XamDataGrid does not have an ActiveRecord and that is why you can't get the value.