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
535
Unable to do StartEditMode
posted

Hi,

I am using a XamDataGrid with Virtualization enabled. When a cell is in edit mode and I press enter I need the cell of next row to be in edit mode.

This works fine for the records in view but when I movie to invisible records then I am able to navigate to them and select them but the cell is still not coming to edit mode.

Also for few cells the edit mode gets enabled while for most of them it still remains deactivated.

I have tried certain things like BringRecordIntoView, RecordNext but no luck. 

Please help.

Parents
  • 22015
    posted

    Hello Neelesh,

     

    Thank you for your post!

     

    I have been looking into it and it seems that I am missing something from your scenario. I have created a small sample application in order to test the functionality you have reported.

    In the sample application I have a simple XamDataGrid, bound to a collection. I also have a button, that scrolls a record, that is not in view when the application starts, then makes the first cell of that record active and makes it to enter in edit mode.

    Please note, that if you are using the StartEditMode command of the DataPresenterCommands - it places the cell, that is currently active in edit mode.

     

    Would you please provide me with more detailed information about the scenario you want to achieve? Also if possible would you please modify the sample application with the functionality you are using, so it reproduces the issue?

     

    Looking forward to hearing from you.

    DataGrid_StartEditMode.zip
Reply Children