I have the following code snippets:
tabBooking = new dhtmlXTabBar('dvtabBooking');
tabBooking.setImagePath('/javascripts/dhtmlx/dhtmlxTabbar/codebase/imgs');
tabBooking.addTab('pax','Passengers','100px');
tabBooking.addTab('rmks','Remarks','100px');
tabBooking.addTab('conds','Conditions','100px');
grdPax = tabBooking.cells('pax').attachGrid();
However Firbug is complaining that 'tabBooking.cells(‘pax’).attachGrid() is not a function.
I have the following javascript files included:
dhtmlxcommon.js
dhtmlxtabbar.js
dhtmlxgrid.js
dhtmlxgridcell.js
The tabBooking is being properly created.
Please can you tell me what I’m doing wrong.
Thanks
Purvez