ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: rallesaid on August 11, 2016, 10:36:42 pm

Title: empty column at the end of the grid
Post by: rallesaid on August 11, 2016, 10:36:42 pm
Hi, I'm having a little problem, apparently is adding an empty column , or for some reason it is appearing a space at the end of the grid

(http://fotos.subefotos.com/77588977073358a41364c37e144c946do.png)
(http://fotos.subefotos.com/c6b02e46aeb6135cd30bcbd9ac3929b6o.png)

My colModel

 var colModel = [ 
                {title:"ID",  width:"0%", dataType:"string",dataIndx: "eti_id",hidden:true,editable:false},
                {title:"Pagina", width:"20%", dataType:"string",dataIndx: "eti_pag_cod",nodrag:true,editable:false}, 
                {title:"Codigo", width:"20%", dataType:"string",dataIndx: "eti_cod",nodrag:true,editable:false}, 
                {title:"Etiqueta", width:"60%", dataType:"string",dataIndx: "eti_val",nodrag:true}             
                ];
I tried whit width and minWidth, whit % and px, Any idea what it could be? Thanks.
Title: Re: empty column at the end of the grid
Post by: rallesaid on August 12, 2016, 01:03:52 am
apparently is a problem with the % , putting 20%, 20%, and 60% occurs the problem, but to put 19%, 21% and 60% solved
Title: Re: empty column at the end of the grid
Post by: paramvir on August 18, 2016, 06:13:12 pm
It can also be solved by use of scrollModel.autoFit = true

and leave one column width

20%, 20%, third column would be automatically 60%