I have a situation where I populate a TypedList, then assign that list as the datasource to a Janus GridEX control, and all works great. The data loads into the grid control, and displays the list.
If a user wants to add a new record, they populate a form to do so, which saves their data to a new Entity, and it is saved to the DB. In order to add the newly added record to the TypedList, I requery the db with a Filter like so:
TypedListDAO dao = new TypedListDAO();
dao.GetMultiAsDataTable(MyTypedList.BuildResultset(),currentlyBoundTypedList, 0,null,PredicateFactory.CompareValue(IndividualFieldIndex.ContactID, ComparisonOperator.Equal,newID), null,false,null,null,0,0);
When I do this, the new row is added to "currentBoundTypedList" rowset properly, but the grid does not update. Does the ListChanged event not fire in this case? My understanding is that GridEX monitors the ListChanged event in order to update it's display.
Any ideas?