Dynamically change the colspan attr
Add alert before deleting tree