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
490
Adding New Row in between Records
posted

Hi,

I would like to add a new row in between extisting records using a context menu. Please provide some samples.

 

Thanks,

Ayyappan

 

Parents
  • 138253
    Offline posted

    Hello Ayyappan,

    Thank you for your post. I have been looking into it and I created a sample project for you showing the functionality you want to achieve. Basically I create a ContextMenu for the XamDataGrid and handled its Item’s Click event and the XamDataGrid’s PreviewMoueseRightButtonDown events, in which I get the index if the clicked Record and insert a new one before it. Please let me know if this helps you or you need further assistance on this matter.

    Looking forward for your reply.

    XamDataGridInsertRecordBetween.zip
Reply Children