Hello Mhanna,
Yes, it is possible. Just call the method autoresizecolumns immediately after the initialization. Here is an extract from the documentation on the method:
autoresizecolumns Method
(requires jqxgrid.columnsresize.js)
Auto-resizes all columns.
Optional parameter:
‘all’ – resize columns to fit to cells and column header. This is the default option.
‘cells’ – resize columns to fit to the cells text.
‘column’ – resize columns to fit to the columns text.
Code example
Invoke the autoresizecolumns method.
$(‘#jqxGrid’).jqxGrid(‘autoresizecolumns’);
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/