Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 10, 2009 07:47
open dhtmlx forum
dhtmlx_winviewport

Hello,

In my application we are using Layout, accordian, then why inside Layout div iam getting div with class='dhtmlx_winviewport'
This div contains same Height and width as iam giving for layout div.

layout div == <div id="workspace_wrapper" style="width: 990; height: 410;"></div>

if i debug i can see <div class="dhtmlx_winviewport" style="left: 0px; top: 0px; width: 990px; height: 410px;"> and this div is coming as on top of window so iam not able to use other links in my application.


Can i hide div "dhtmlx_winviewport"?


Looking forward for your prompt and positive response,


Regards,
Ram
Answer posted by Alex (support) on Feb 11, 2009 03:22

Hello,

The "dhtmlx_winviewport" div mustn't hide the content on your page (it is placed inside the layout). 

Please provide the sample to produce the issue.

Answer posted by Support on Apr 01, 2009 05:16
By the default viewport set to document.body.

Please make sure you're not using codeline like:

dhxWins.enableAutoViewport(false);
dhxWins.setViewport(350, 50, 400, 400);