Scrolbars inside layout

Hi Darya,

Time ago you gave a great solution to a my problem with this code:

  1. you need to set scroll after attachObject usage
    I.e.:

layout_grafici.cells(“b”).attachObject(“chartPIE”);
layout_grafici.cells(“b”).vs[layout_grafici.cells(“b”).av].dhxcont.mainCont[layout_grafici.cells(“b”).av].style.overflow=“auto”;

  1. you need to set another padding, i.e. -170:

Code: Select all
padding: {
left: -170,
bottom: 250,
right: 50
},

This was OK with 3.6 version but now that i’m trying to update to 4.4 what’s the correct syntax for this strange command and then: is it good for 4.5 and 4.6 too.

Thanks for the answer

Hi

Could you please provide us complete demo including all correspondnig js/css files?
Please also add information regarding current and expected behaviour.

Here is a small guide how to make a complete demo:
docs.dhtmlx.com/tutorials__auxil … pport.html

If you don’t want to share your demo here for any reasons - you can send it to support@dhtmlx.com, if so - please include link to this forum topic.

If you’re using PRO Edition please send your demo to support@dhtmlx.com