2017-07-30 72 views

回答

1

使用CSS和jQuery

var columnindex = $('#dcTable th:contains("NameOfColumnToHide")').index(); 
if(columnindex != -1) 
    $('#dcTable tr > *:nth-child('+(++columnindex)+')').hide(); 
解決
相關問題