Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Focus Cell After Replacing Row

$
0
0

Hi Dilyan,

Thanks for your reply. I seem to have got a solution by monitoring the items source for changes and then using ScrolIntoViewAsync. After scrolling is completed, I use the scrollFinishedCallback to call cell.Focus() and cell.IsCurrent = true.

However, there seems to be one more problem with the RadGridView. The items source is bound to an ObservableCollection<Base>. Some of the items are Foo and some are Bar. In cases where all items are Foo, and then I subsequently try to add a Bar, I'm seeing an InvalidCastException somewhere internally in the RadGridView. This seems to prevent the CellEditEnded event from firing.

Any ideas? Thanks!


Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>