:: Forum >>
Horizontal Scroolbar... Help me...
Hi,
I need do show the horizontal scrollbar... in "no data" grid...
I obtained to show it... but it doesn't obey the size...
I'm making the grid in a 'window.open' of size height=200px and width=400px....
what can i do ???
Thanks a lot,
Joel
My code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="pt-br">
<link rel="stylesheet" type="text/css" href="css/css.css">
<link rel="stylesheet" type="text/css" href="css/grid.css">
<script language="javascript" src="include/js/grid.js"></script>
</head>
<style>
.active-grid-row {height:20px;}
.active-grid-column {border-right: 1px solid threedshadow;}
// display horizontal scrollbar
.active-scroll-bars {overflow-x:scroll;}
</style>
<body>
<script>
var objGrid_columns = [
"Código", "Tipo de Notificação", "Tipo de Recipiente", "Nome do Grupo", "Nro de Dias", "Mensagem", "Usuário",
];
try {
var objGrid = new Active.Controls.Grid;
objGrid.setColumnCount(7);
objGrid.setColumnText(function(i){return objGrid_columns[i]});
objGrid.setColumnHeaderHeight('20px');
objGrid.setRowHeaderWidth('0px');
objGrid.setStatusProperty('text', '');
document.write(objGrid);
}
catch (error){
document.write(error.description);
}
</script>
</body>
</html>
Joel (Sys)
Friday, April 1, 2005
This topic is archived.
Back to support forum
Forum search