Hello Clay,
Well I can''t get to the bottom of this one so easily.
I currently am using a dataview and I''m listening to the ListChanged event, trying to force the grid manually to invalidate and refresh these summary captions correctly.
Can you suggest which exact method to call so I can refresh these captions?
==============================
///
/// Handles the event that gets fired when the data underlying the grid changes.
///
///
The object that causes the event to be fired.
///
The arguments for the event.
private void OnLinkViewChanged ( object sender, ListChangedEventArgs e )
{
// if it''s an addition or an update
if ( e.ListChangedType == ListChangedType.ItemAdded
|| e.ListChangedType == ListChangedType.ItemChanged)
{
CheckForPossibleGridExpands( e.NewIndex );
}
if ( e.ListChangedType == ListChangedType.Reset )
{
this.linkMonitorGrid.TableModel.Table.InvalidateSummariesBottomUp(); //? this one doesn''t work
this.linkMonitorGrid.Invalidate();
} //? neither does this
}
==============================
Thanks,
Jason.