working
but
Apperyio("mobilegridName").parent().css("width", width); will be in js
after service success I did this
var width = 0;
$("[name=mobilegridName]").each(function(){
width += parseInt($(this).width());
});
Apperyio("mobilegridName").parent().css("width", width);
Anyhow tnx again