{"action":"created","issue":{"url":"https://api.github.com/repos/Mottie/tablesorter/issues/925","labels_url":"https://api.github.com/repos/Mottie/tablesorter/issues/925/labels{/name}","comments_url":"https://api.github.com/repos/Mottie/tablesorter/issues/925/comments","events_url":"https://api.github.com/repos/Mottie/tablesorter/issues/925/events","html_url":"https://github.com/Mottie/tablesorter/issues/925","id":83891545,"number":925,"title":"Unable to change column width in DataTables","user":{"login":"Cr3z","id":12269381,"avatar_url":"https://avatars.githubusercontent.com/u/12269381?v=3","gravatar_id":"","url":"https://api.github.com/users/Cr3z","html_url":"https://github.com/Cr3z","followers_url":"https://api.github.com/users/Cr3z/followers","following_url":"https://api.github.com/users/Cr3z/following{/other_user}","gists_url":"https://api.github.com/users/Cr3z/gists{/gist_id}","starred_url":"https://api.github.com/users/Cr3z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cr3z/subscriptions","organizations_url":"https://api.github.com/users/Cr3z/orgs","repos_url":"https://api.github.com/users/Cr3z/repos","events_url":"https://api.github.com/users/Cr3z/events{/privacy}","received_events_url":"https://api.github.com/users/Cr3z/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-02T07:40:10Z","updated_at":"2015-06-02T07:56:25Z","closed_at":null,"body":"Hi! I actually use Datatables plugin on my website with inputs-research area in each column header.\r\nIt works well but the column width is fixed at 169px (probably due to the search inputs) and I don't know how to resize it to fit to my data width.\r\n\r\nCan you help me please?\r\n\r\nHere's my .js:\r\n \r\n```\r\n$(document).ready(function() {\r\n\r\n    // Setup - add a text input to each header cell\r\n    $('#maTable thead .search').each( function () {\r\n        var title = $('#maTable thead .header_title').eq( $(this).index() ).text();\r\n        $(this).html( '<input type=\"text\" placeholder=\"Search '+title+'\"/>' );\r\n    } );\r\n  \r\n    // DataTable\r\n    var table = $('#maTable').DataTable();\r\n     \r\n    // Apply the search\r\n    table.columns().every( function () {\r\n        var that = this;\r\n        $( 'input', this.header() ).on( 'keyup change', function () {\r\n            that\r\n                .search( this.value )\r\n                .draw();\r\n        } );\r\n    } );\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/Mottie/tablesorter/issues/comments/107847099","html_url":"https://github.com/Mottie/tablesorter/issues/925#issuecomment-107847099","issue_url":"https://api.github.com/repos/Mottie/tablesorter/issues/925","id":107847099,"user":{"login":"Francks11","id":3995851,"avatar_url":"https://avatars.githubusercontent.com/u/3995851?v=3","gravatar_id":"","url":"https://api.github.com/users/Francks11","html_url":"https://github.com/Francks11","followers_url":"https://api.github.com/users/Francks11/followers","following_url":"https://api.github.com/users/Francks11/following{/other_user}","gists_url":"https://api.github.com/users/Francks11/gists{/gist_id}","starred_url":"https://api.github.com/users/Francks11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francks11/subscriptions","organizations_url":"https://api.github.com/users/Francks11/orgs","repos_url":"https://api.github.com/users/Francks11/repos","events_url":"https://api.github.com/users/Francks11/events{/privacy}","received_events_url":"https://api.github.com/users/Francks11/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T07:56:25Z","updated_at":"2015-06-02T07:56:25Z","body":"Hi @Cr3z,\r\n\r\nI think, it is not the good project to report your issue.\r\n\r\nHere it is tablesorter.\r\n\r\n:-)"}}