Hi Peter
I have started using jqwidgets and started with implementing grids. I am using that as a portlet in Liferay.
I have configured jqxgrid to be
$(“#jqxgrid”).jqxGrid(
{
width: “100%”,
source: dataAdapter,
pageable: “true”,
autoheight: “true”,
columnsresize: “true”,
virtualmode: “true”,
rendergridrows: function (params) {
return params.data;
},
columns: ${colFlds}
});
Now in liferay I can move this portlet to different column layout. i.e. I can move to 70% of the page or 30% of the page. Ideally it should resize the grid as per top div’s width however that is not happening and since overflow is hidden half of the grid is not seen at all.
I did view source and noticed that many places width is used as fixed pixels like 840px, etc. However I have set my columns width as percentage.
Could you please provide me with info where can i get rid of these fix widths?