//HTML代码
<table id="dataGrid" class="table text-nowrap scrolltable"></table>
//设置样式代码
<script type="text/javascript">
function setCss(){
var thead = $("#dataGrid thead");
thead.css({"display": "block"});
thead.css({"overflow-y": "scroll"});
}
</script>
网友评论