Sample: dhtmlxGrid Autowidth for column(s) dhtmlxGrid main page
X

Using * symbol instead of column width, you can set auto width in the grid.
Try to resize column. Book Title column will take all available space after resizing of other columns


 
//second column will have autosize
mygrid.setInitWidths("80,*,100,80,40,40,40,80")