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
470
Prevent Drag Drop from Dropping on AddRowTemplate at top of grid
posted

I set up Dragging and Dropping of rows however when the row is dropped on the template add row at the top of the grid the row dropped disappears from the grid. Is there a way to prevent dropping the row on the Add Row template at the top of the grid.

Thanks,

Steve

  • 69832
    Offline posted

    Assuming your drag/drop implementation is hit testing for an UltraGridRow when determining the drop position, you could factor in the value of the UltraGridRow.IsTemplateAddRow property when determining whether to allow the drop (if that property returns false don't allow it).