Jqgrid Setlabel Method, How … The method implementation checks value for white spaces using val.