I have a table that is dynamic and is generated in code located in C #. I use tabletogrid to convert this html table to Jqgrid and the code I use for this is
tableToGrid('#gvSearchDocuments', { height: 'auto', autowidth:true, multiselect: true, pager: 'pagersearch', rowList: [20, 30, 50], colNames: ['ID','Message Date', 'Fund', 'Partner', 'Menu', 'Sub Menu', 'Document Name', 'Document Description', 'Type'], colModel: [ { name: 'ID', hidden: true}, { name: 'MessageDate', align: 'right', sorttype: 'date', formatter: 'date', formatoptions: { newformat: 'MdY' } }, { name: 'Fund', align: 'left'}, { name: 'Partner', align: 'left' }, { name: 'Menu', align: 'left'}, { name: 'SubMenu', align: 'left'}, { name: 'Documentname', align: 'left' }, { name: 'DocumentDescription', align: 'left'}, { name: 'Type', align: 'left' } ] });
The problem is when jqgrid is created, column headers and data are not aligned right. I tried to play with autoWidth, width and shrinkToFit, but no luck. This is how my grid appears in IE, Firefox, and Chrome.

I spent more than a day on this, and he slowly killed me. Any help would be great!