window.onload = function(){
$(window).resize(function(){
$("#.tableid").setGridWidth($(document).width)
}).trigger('resize')
}
window.onload = function(){
$(window).resize(function(){
$("#.tableid").setGridWidth($(document).width)
}).trigger('resize')
}