how to change the rowheight in dataGrid ?

hi
This is how you can change the height of a row in datagrid, but to an extent only you will loose all your text if it reduced to a leavel less then font size to be visible.
so you will respectivelly have to change the font size also and dont forget to embed the font 🙂

datagrid.rowHeight = 10;
below is the CSS sample


DataGrid
{
header-style-name : headerGrid;
fontFamily: Arial;
fontSize:10;
fontStyle:normal;
fontWeight: normal;
fontAntiAliasType: advanced;
fontSharpness: 100;
fontgridFitType: subpixel;
advancedAntiAliasing : true;
letterSpacing: 3;
}

@font-face {
src: local("Arial");
fontFamily: Arial;
advancedAntiAliasing: true;
}

Leave a comment