i am dynamically binding the grid . So i dont no number of rows and column.I am getting scrollbar when there are so many columns
as of now i am using this code
var noOfColumns=jsonObj.length;
$(“#jqxgridDataSource”).jqxGrid(
{
width: noOfColumns * 215,
source: dataAdapter,
theme: theme,
columnsresize: true,
pageable: true,
autoheight: true,
sortable: true,
altrows: true,
filterable: true,
enabletooltips: true,
autoheight: true,
ready: function() {
addfilter();
},
autoshowfiltericon: true,
columns: columns
});
its good for less no. of columns. Is there anything like autowidth which i can use.