attachGrid is not a function


I trying test integration Tabbar with Grid, but I unable to get working this together. Chrome console still returning error attachgrid is not a function. This integration is PRO feature or should be work on Standard free version please?

Here is my testing code based on DHX sample code:


Integration with dhtmlxGrid
	var myTabbar;
	var myGrid;
	function doOnLoad() {
		myTabbar = new dhtmlXTabBar("my_tabbar");
		myTabbar.addTab("a1", "Tab 1-1", null, null, true);
		myTabbar.addTab("a2", "Tab 1-2");
		myGrid = myTabbar.cells("a1").attachGrid();

Thanks for your ideas.

The same code works for me

Just be sure that you have included all necessary js files ( use the dhtmlx.js which contains all components, or include all js files from tabbar and grid packages )