Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
970
Scroll wheel is changing my data
posted

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?

Parents
No Data
Reply
  • 35319
    posted

    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.

Children