I am using Infragistics UltraGrid .Net 1.x in a Windows app. When the grid is displayed, it has all the correct records, but when I change one of those records at the database level, the change is not reflected in the grid. What is the correct approach to this?
Dim sDate As Date = DTPickerOrderDate.Value.Date
Dim eDate As Date = sDate.AddDays(1)
Dim Entities As New OrdersCollection
Dim Sorter As New SortExpression(New SortClause(OrdersFields.OrderDate, SortOperator.Descending))
Dim Filter As New PredicateExpression
Filter.Add(New FieldCompareValuePredicate(OrdersFields.Account, ComparisonOperator.Equal, HFACCOUNT))
Filter.Add(New FieldCompareValuePredicate(OrdersFields.OrderDate, ComparisonOperator.GreaterEqual, sDate))
Filter.Add(New FieldCompareValuePredicate(OrdersFields.OrderDate, ComparisonOperator.LesserThan, eDate))
Entities.GetMulti(Filter, 0, Sorter)
UltraGrid1.DataSource = Entities