2015-11-04 81 views

回答

0

我這樣做的方式是將表格樣式設置爲display: none;,以便它在初始視圖中隱藏,然後在加載的事件中重新顯示它。例如:

var grid = $("#myGrid").bootgrid(); 
grid.on("loaded.rs.jquery.bootgrid", function (e) { 
    // Show table after bootgrid has finished (stops visual jittering during bootgrid load) 
    $("#myGrid").css("display", ""); 
}); 
相關問題