TypeError: enableMultiselect is not a function

Hi there,

I am getting a TypeError after porting my Project to DHTMLX 3!
I am using DhtmlxGrid with Multiselect. On load I get this: TypeError: mygrid.enableMultiselect is not a function.

What is wrong?

grid 3.0 backward compatible with 2.6 version and continue to support grid.enableMultiselect method. If issue still occurs - please provide any kind of sample or demo link where problem can be reconstructed.

no it is not… what have you done? only in firefox the dhxGrid is working, on all other browsers I get TypeErrors: Cannot read property ‘xxx’ of null. You can substitute xxx with ‘_childindexes’ or ‘tagName’ I figured out that the object dhtmlXGridObject is not initialized correctly. What can I do?

						dhxGridEvents = new dhtmlXGridObject();
						dhxGridEvents.setHeader(\"".GRID."\");
						dhxGridEvents.setInitWidths(\"".GRID_WIDTH."\");
						dhxGridEvents.setColSorting(\"".GRID_SORT."\");
						dhxGridEvents.init();
						if (EventID != 0) { 
							dhxGridEvents.load(\"../library/getEvents.php?id=\" + EventID);
						} else {
							dhxGridEvents.load(\"../library/getEvents.php\");
						}
						dhxGridEvents.sortRows(2,\"str\",\"des\");

I used the dhtmlxgrid.js which I downloaded today.

  1. Please, make sure that all js files were updated.
  2. Check order of js files, it must be:
    dhtmlxcommon.js
    dhtmlx[Component].js ( dhtmlxgrid.js for grid, dhtmlxtree.js for tree and etc. )
    any extensions for the component
  3. If issue still occurs - please, provide a more detailed sample or a complete demo/demo link where the issue can be reconstructed.