You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
Help me, please. I am using draggable with Tree View. And i need to forbid drag row to another branch. Or as variant cancel d&d if rows are in another branches or levels.
Example
$scope.gridData.onRegisterApi = function (gridApi) {
gridApi.draggableRows.on.beforeRowMove($scope, function (from, to, data) {
if (from.data.parentId != to.data.parentId)
{
//action to cancel draggable
}
});
};
Thank you!
The text was updated successfully, but these errors were encountered:
Hello
Help me, please. I am using draggable with Tree View. And i need to forbid drag row to another branch. Or as variant cancel d&d if rows are in another branches or levels.
Example
Thank you!
The text was updated successfully, but these errors were encountered: