Hi Telerik Team,
I create some custom columns and observed some strange behavior. Many columns use the same custom column with different values (bindings) but sometimes show the same values, especially when scrolling. So I use the CustomColumn example to investigate further.
I can reproduce this 100%. Column2 switches to the binding from Column1. I attached a sample project + video.
I can "solve" this problem by setting the Binding every time the CreateCellElement method is called. BUT this happends every time a value changed and it is used for a stock exchange software, were values changing a lot so I believe it can be a performance issue.
if (bar == null)
{
bar = new RadProgressBar();
bar.Height = 20;
cell.Content = bar;
}
bar.SetBinding(RadProgressBar.ValueProperty, this.DataMemberBinding);
Is this a bug? Do I understand this wrong? Why is the cell "created" on every value change?
PS: the real grid has about 100 columns and the CustomColumns had multiple Bindings also to DependencyProperties wich had to be constructed every time.
regards,
marco