changeLightboxType

repaints the lighbox for the task according to its type

void changeLightboxType(string type);
typestringthe task type

Example

gantt.changeLightboxType(gantt.config.types.project);

Details

The method repaints the lightbox and if possible saves all the input. For rebuilding the structure, the method uses the configuration for the specified type.

If the type of the lightbox is the same as the type in the parameter, the method does not repaint the lightbox.

See also
Back to top