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.
mygrid = new dhtmlXGridObject(‘gridboxAct’);
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.