How to add css and js to a views-view-table--viewname.tpl.php
You could do this by using a process function at theme level...

function YOURTHEME_preprocess_views_view(&amp;$vars) {
    if (isset($vars['view']-&gt;name) &amp;&amp; $vars['view']-&gt;name == 'YOURVIEW') {
        drupal_add_css("themes/bartik/style-test.css", $type = 'file', $media = 'all', $preprocess = FALSE);
        drupal_add_js("jquery.min.js", $type = 'file', $media = 'all', $preprocess = FALSE); 
    }
}



Change 'YOURTHEME' to the theme you are using so if 'bartik' then
you want bartik_preprocess_views_view().
Change 'YOURVIEW' to the name of your view. You can get this by
printing $vars['view']->name from the function.
Clear caches after adding function.