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
645
Drag and drop vs. RowEditTemplate
posted

Hi,

I am using UltraWinGrid 9.2 and want to enable drag and drop feature along with RowEditTemplate. I did follow an article here and was able to drag and drop. However, it didn't work with RowEditTemplate. Dragging only one row always bring up the RowEditTemplate, while multiple rows dragging does not do anything. I searched this forums but it seems like no one has experienced this issue before so I post this hoping someone help me.

Thanks in advance.

Parents
No Data
Reply
  • 9298
    Suggested Answer
    posted

    You can set the RowEditTemplate so that it will only open when you click on the RowSelector by inserting the following code in the InitializeLayout event:

    e.Layout.Override.RowEditTemplateUIType =

     

    RowEditTemplateUIType

    .RowSelectorImage;

    Now you should be able to click on the row without the template opening and then you can do your drag operation and then call the ShowEditTemplate method off the Row to open the RowEditTemplate.

    I hope this helps you.  You may want to open a case with Developer Support if you would like more assistance with this.

     

Children
No Data