jquery easyUI datagrid 寬度設置百分比問題

columns : [[
						{
							title : 'id',
							field : 'id',
							width : getWidth(0.05),
							align :'center',
						}
            ]]

//取百分比方法
function getWidth(percent)  
{  
    return document.body.clientWidth * percent ; 
}