Grid Resizing when selecting a row

Hi there,

my problem is when I select a row, then the grid resizes automatically to adapt the number of rows. I don’t want this behavior, so I’d like the grid keep its original height when selecting a row.

I don’t know what is my library version.

Here is the code I have:

       if (gridInciReci == null){
		gridInciReci = crearGridGlobal("divGridInciReci", true);
	}
	
	gridInciReci.setHeader(labelGridOopp+","+labelGridCampana+","+labelGridExpediente+","+labelGridTipoCtrl+","+labelGridRecinto+","+labelGridSigpac+",#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,"+labelGridProducto+","+labelGridLinea+","+labelGridProtocolo+","+labelGridFega+","+labelGridPrioridad,null,
							["text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
							 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
							 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
							 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
							 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
							 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
							 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
							 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
							 "text-align:center;vertical-align:middle"
							]);
							
							
    gridInciReci.attachHeader("#rspan,#rspan,#rspan,#rspan,#rspan,"+labelGridProvincia+","+labelGridMunicipio+","+labelGridAgregado+","+labelGridZona+","+labelGridPoligono+","+labelGridParcela+","+labelGridRecinto+",#rspan,#rspan,#rspan,#rspan,#rspan",
			["text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
			 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
			 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
			 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
			 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
			 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
			 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
			 "text-align:center;vertical-align:middle", "text-align:center;vertical-align:middle",
			 "text-align:center;vertical-align:middle"
			]);
	
	
	

			
	gridInciReci.setImagePath("<s:property value='getDirectorio()'/>/js/dhtmlx/dhtmlxGrid/codebase/imgs/");
	gridInciReci.setSkin("dhx_skyblue");
	gridInciReci.setInitWidths("*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*");
	gridInciReci.setColTypes("ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro");
	gridInciReci.setColAlign("center,center,center,center,center,center,center,center,center,center,center,center,center,center,center,center,center");
	
	gridInciReci.enableAutoWidth(true);
	
	gridInciReci.setStyle("cursor:auto;");		
	      				
	//Activar paginacion y añadir tema
	gridInciReci.enablePaging(true, numRegPag, numRegPag, areaPag, true, "infoArea");
		
	gridInciReci.i18n.paging=paginacion;
	gridInciReci.setPagingSkin("toolbar", "dhx_skyblue");
	
	
	gridInciReci.enableMultiline(false);
	
	gridInciReci.setStyle("cursor:auto;");	
	
	gridInciReci.attachEvent("onXLE", function() {
		
		resetWait();
			

		if ($('#footerPag').length < 1) {
			$('#pagingArea .float_left').prepend('<div class="dhx_toolbar_text" id="footerPag"></div>');	
	    }
		$('#footerPag').html('<s:text name="nRegistros" />' + ": " + gridInciReci.getRowsNum());
	});
	
	
	gridInciReci.attachEvent("onXLS", function() {
		gowait();
	});
	
	

	gridInciReci.attachEvent('onBeforePageChanged', function(){
		if(!this.getRowsNum()){
			return false;
		}
		
		this.xmlFileUrl = this.xmlFileUrl.replace(/&count=([^&]$|[^&]*)/i, "").replace(/&posStart=([^&]$|[^&]*)/i, "");
		return true;
	});
	
	gridInciReci.enableMultiline(false);
	
	gridInciReci.setStyle("cursor:auto;");	
	
	gridInciReci.enableSmartRendering(false);
	
	
	gridInciReci.init();

Unfortunately the problem cannot be reconstructed locally. If the problem still occurs for you please, provide with a complete demo, where the problem can be reproduced.
Here you can f ind a tutorial about creating a complete demo:
docs.dhtmlx.com/tutorials__auxi … pport.html