However, the effect is not applied unless i manually reduce the size of div element with classname dhxcont_global_content_area by 10px (size of shadow box).
This effect is disappeared if i make any change to the layout such as: insert tree, grid, or click on splitter,toolbar button… The cell’s size is set back to original size.
You can find my demo in attachment. The layout is loaded with shadow-box on each cell. If you click on the splitter, the shadow-box disappears and the size of the box return to normal.
Layout cells are displayed without margins. Therefore, box-shadow is not applied. Unfortunately, we can not provide a solution for this, as layout was not designed for such a case.
It is only possible to set box-shadow for the parent container of layout. In your sample it could be as in:
Regarding your demo … You changed size of layout cells, and that can affect cells content. We do not recommend to use this approach - the size of inner components is calculated for original size.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan