Gantt 6.1.1 lightbox doesn't fire


#1

I’m using dhtmlx suite v 5.0.8 with gantt 6.1.1
The problem is when I enable multi_select in the gantt chart. The lightbox refuses to fire. None of the events fire either such as OnBeforeLightBox.

Maybe I’m having a script issue?

Here are the order in which my scripts are loaded.

` <script src="/Scripts/dhtmlx.js"></script>
<script src="/Scripts/sources/dhtmlxgantt.js"></script>
<script src="/Scripts/sources/dhtmlxCombo/codebase/dhtmlxcombo.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_acheck.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_calck.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_clist.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_cntr.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_combo.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_context.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_cor.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_dec.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_dhxcalendar.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_grid.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_limit.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_link.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_liveedit.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_mro.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_num.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_passw.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_ra_str.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_sub_row.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_time.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_tree.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_wbut.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_data.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_drag.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_export.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_fast.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_filter.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_filter_ext.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_form.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_group.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_hextra.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_hmenu.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_json.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_keymap.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_markers.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_math.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_mcol.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_nxml.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_over.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_pgn.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_pivot.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_post.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_rowspan.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_selection.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_splt.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_srnd.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_ssc.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_start.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_undo.js"></script>
<script src="/Scripts/sources/dhtmlxGrid/codebase/ext/dhtmlxgrid_validation.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_auto_scheduling.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_critical_path.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_csp.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_fullscreen.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_grouping.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_keyboard_navigation.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_marker.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_multiselect.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_overlay.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_smart_rendering.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_tooltip.js"></script>
<script src="/Scripts/sources/ext/dhtmlxgantt_undo.js"></script>
<script src="/Scripts/sources/skins/dhtmlxgantt_broadway.js"></script>
<script src="/Scripts/sources/skins/dhtmlxgantt_contrast_black.js"></script>
<script src="/Scripts/sources/skins/dhtmlxgantt_contrast_white.js"></script>
<script src="/Scripts/sources/skins/dhtmlxgantt_material.js"></script>
<script src="/Scripts/sources/skins/dhtmlxgantt_meadow.js"></script>
<script src="/Scripts/sources/skins/dhtmlxgantt_skyblue.js"></script>
<script src="/Scripts/sources/skins/dhtmlxgantt_terrace.js"></script>


#2

The problem seem to be my onTaskCLick event. I had the method gantt.SelectTask(id) in there by mistake. That’s why it wasn’t firing the lightbox.