Hi,
We have a RadGridView binded on DataTable.DefaultView object as ItemsSource.
Our DataTable is define as follow:
A DataRow object is overrided by our own Record object that contains Collection of Property object as ItemArray
public
class
Record : DataRow, IEquatable<Record>, ICloneable
{
public
Record(DataRowBuilder builder)
:
base
(builder)
{
}
public
new
Property
this
[
string
columnName]
{
get
{
return
(Property)
base
[columnName];
}
set
{
SetRowVisibility(value);
base
[columnName] = value;
}
}
}
All Property objects are updated in realtime by a thread that changes Property Value
We don't have any problem to see all data updated.
But when we apply a filter on a column, the filter is not reapply automatically when data value changed.
One solution was to remove completely the Row and add it with new values..It 's running for filter, but we have identify several problems with sorting, because Rows are deleted/added during sorting thread, that generate an IndexOutOfBoundsException
What's the solution ?
regards,