Sorry I'm not following. How can it be working if the below code returns the same value before and after changing the width?
try{
alert(gridcell2.width()); //returns 25
gridcell2.width("200px");
alert(gridcell2.width()); // returns 25
}
catch(err){
alert(err.message);
}