Comments (9)
@kapilpundit
FIXED in v2.5.0.
Now you can get submit or cancel deleting item. There are 3 new events instead old one.
Example:
(onStartDeleteItem)='onStartDelete($event)'
(onFinishDeleteItem)='onFinishDelete($event)'
(onCancelDeleteItem)='onCancelDelete($event)'
removed event: onremoveitem
from ngx-tree-dnd.
You can check the live example in:
https://stackblitz.com/edit/ngx-tree-dnd
Hope you enjoy it. Thank you for the star.
from ngx-tree-dnd.
Excellent work @Zicrael . Is there a way I can open my own modal div or a popup instead of the confirmation alert box? That would be great as I would like to show some informative message to the user for taking there consent to delete a node in the tree. Thanks.
from ngx-tree-dnd.
Hi @kapilpundit , okay this one not so hard, but any ideas about confirmation before remove child? modal or just alert or ...?
from ngx-tree-dnd.
i would like to know as well if we can override the alert message here. thanks!
from ngx-tree-dnd.
@sarahm7 you can override message from the script file. find msg and replace it in file.
from ngx-tree-dnd.
sorry what do you mean @hirenkukadiya ? i meant the same as @kapilpundit sorry for the confusion.
from ngx-tree-dnd.
@sarahm7 just find "Do you really want to delete" in script and replace it.
from ngx-tree-dnd.
Hi @hirenkukadiya @Zicrael
is there a way to disable the confirmation alert dialog box on delete
from ngx-tree-dnd.
Related Issues (20)
- onAddItem doesn't work HOT 7
- root
- How to hide root actions buttons.? HOT 6
- How to get all element with id and parent id after drop(onDrop) any element? HOT 2
- How to set custom button only for child? HOT 4
- how to override a tree template HOT 2
- checkTreeLength bug HOT 3
- Multiple tree in view causing issue HOT 8
- Hide "+" button from 3rd level HOT 4
- Unable load SVG in production build HOT 4
- Is there any way to get node level in the tree ? HOT 1
- Is there a way to disable drag on my items? HOT 3
- Disable Confirmation dialog on delete HOT 1
- Add field in ngx tree dnd ?
- How to change tree children's actions icon?
- Unable load SVG in production build while using ngx tree dnd HOT 1
- bug with "onFinishDeleteItem" event
- How to add more fields to TreeModel interface
- Option to collapse the subfolders of root folders
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-tree-dnd.