In the Tree Menu type, also known as Treeview, it is possible to work with some events that can help you in case is necessary to implement a personalized code because a specific situation on a project. Next, we’re going to show how to work with them and you’ll realize how practical to implement what is needed.

To access the tree menu events, go to “Events” directory on the “Tree Menu” guide.

16.12

When you click on the directory, the following events will be available:

  • onApplicationInit: This event starts right when the application starts;
  •  onExecute: This event starts when the menu receive the first execution;
  • onLoad: This event starts right after the menu load.

 To implement the event code just click on the event and a screen with a editor on it will be exhibited. For example, we’ll edit the onExecute event.

16.12.2

On the editor is possible to work the code in PHP of your preference. If you like to use one of the Scriptcase complete codes, just select those who have the green mark on it.

16.12.3

Notice that the finished code will be delivered so this way you’ll win much more time in your development activity.

Know this other Scriptcase resource and find out why our tool is one of the best on market!

You might also like…

PROCESAMIENTO AJAX EN SCRIPTCASE

Ajax en los formularios de Scriptcase puede usarse para recargar un campo de tipo de select basado e...

IMPORTAR IMAGENES DE LA BASE DE DATOS Y UTILIZAR CLASES DE BOOSTRAP

Como muchas personas ya saben, Bootstrap es una biblioteca de front-end libre y de código abierto p...

TENDENCIAS DE DESARROLLO WEB PARA 2017

Usted verá en este post tendencias para 2017 en Diseño Web, en el medio digital y en el desarrollo...

Comment this post

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.