Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kamaraju on Aug 26, 2009 06:55
open dhtmlx forum
editable tabbar

hi,

as in dhtmlxgrid mygrid.iseditable(false).Is there any function which makes the tabbar disable completely .
Answer posted by dhxSupport on Aug 27, 2009 01:18
Can you please explain what tabbar do you mean?
If you whant to disable navigation in grid by pressing "tab" button, you can do that using "onTab" event:
mygrid.attachEvent("onTab",function(){return false;})
If you want to disable all cells in grid to edit you can set not editable type to them:
mygrid.setColTypes("ro,ro,ro");
Or you can disable grid to edit with following command:
mygrid.setEditable(false);

Answer posted by Alex (support) on Aug 27, 2009 03:20

Hello, 

  tabbar doesn't provide methods to control content of its tabs. 

  You can show the transparent container over the tabbar. In this case tabbar will be not available. 

Answer posted by kamaraju on Aug 27, 2009 03:28
so , i cant have acces to dhtml tabbar content . I just want to make the content non editable .
Answer posted by Alex (support) on Aug 27, 2009 03:49

Tabbar doesn't provide any method to control its content (to make it non-editable). 

In case of iframe-based loading mode a window of tab content can be got by tabWindow(tab_id) method. 

If you don't use iframes you can use document.getElementById(id) to access the element.