Scrollbar not shown in grid

Hello,

I have the problem that a small grid I need to display a few records is missing its scrollbar. If I use the overflow-attribute to the

which contains the grid the whole grid is scrolled, which means that the header is scrolled too, and I don’t want that to happen.

here is the code of the grid, it’s pretty small:

[code]



mygrid = new dhtmlXGridObject(‘gridboxAct’);
    mygrid.setImagePath("dhtmlx_full/imgs/");          
	mygrid.setHeader("#springMessage('DETAIL_HISTORY_HEADER_DATE'),#springMessage('DETAIL_HISTORY_HEADER_USER'),#springMessage('DETAIL_HISTORY_HEADER_STATUS'),#springMessage('DETAIL_HISTORY_HEADER_ACTION'),#springMessage('DETAIL_HISTORY_HEADER_COMMENT')");
    mygrid.setInitWidths("100,250,150,100");           
    mygrid.setColAlign("right,left,left,left");        
    mygrid.setColTypes("ro,ed,ed,ed");                
    mygrid.setColSorting("int,str,str,int");            
	mygrid.setSkin("dhx_skyblue");
	mygrid.load("koreHistoryData.html?activity_id=$infoTable.ACTIVITY_ID", "xml");
    mygrid.init();     
</script>  [/code]

What do I need to change? I’ve implemented a lot of DHTMLX Grids, but I never came across this problem.

Your code works well for us. vertical scrollbar shows correctly if it’s needed.

Please, make sure that your parent html elements do not cover the css of the gridbox.
If issue still occurs for you, please, provide with a complete demo, where the issue can be reproduced locally.
Here you can find tutorial about creating a complete demo:
docs.dhtmlx.com/auxiliary_docs__ … pport.html