I have a grid with more records than can be displayed. The first element in the grid is XamCheckEditor. When I scroll away from me, it checks the current record, when I scroll toward me it unchecks the current record. I don't want the scroll wheel changing any data. Is their a property that I'm missing?
Hello air1kdf,
I have been looking into your posts and I can suggest you comment this following two rows, which change the state of the selected XamCheckEditor during scrolling :
Expression.Blend.SampleData.SampleDataSource.ItemCollection collection = (Expression.Blend.SampleData.SampleDataSource.ItemCollection)XamDataGrid1.DataSource;
collection[dataRecord.DataItemIndex].Boolean_Value = Convert.ToBoolean(chk.Value);
If you have any other questions, feel free to ask.
Yanko Nikolov"] Hello air1kdf, I have been looking into your posts and I can suggest you comment this following two rows, which change the state of the selected XamCheckEditor during scrolling : Expression.Blend.SampleData.SampleDataSource.ItemCollection collection = (Expression.Blend.SampleData.SampleDataSource.ItemCollection)XamDataGrid1.DataSource; collection[dataRecord.DataItemIndex].Boolean_Value = Convert.ToBoolean(chk.Value); If you have any other questions, feel free to ask.
I commented those 2 lines, and it doesn't make a difference in my project. It's still changing data. One of my questions is why is this event firing at all. For example, if I select something in the grid on the left side (not the checkbox), then scroll wheel, the event fires off, and you'll notice the state of the checkbox changes.
I appreciate the help.