Advanced User Interface Controls and Components
Occurs when dragged row leaves Grid space.
Param | Type | Details |
---|---|---|
e | Object | An event object which contains the dragRow and mousePos objects |
This event can be handled by creating a function in your application controller $scope and applying this function as value to an attribute in Grid directive:
The events attribute has a higher priority than the drag-leave attribute. If both attributes are set, the value from events attribute is used.
The mousePos object associated with this event holds coordinates of mouse position relative to the parent page.
Supported in: v1.0.
An example on drag drop operations in IntegralUI Grid AngularJS.
A demonstration on drag drop of items from TreeView to Tree Grid and vice versa, in AngularJS. Also shows how to dynamically change the row icon depending on whether there are children or not.
Learn how to set custom conditions in event handlers for drag drop events, Tree Grid for AngularJS.