 He was an inspector for the Children's Employment Commission (1841), the Board of Health (1849), author of a report on cholera (1850) and inspector under the Burials Act 1853.Grainger refused money from a testimonial, which was then used to found the Grainger prize.He was the author of "Elements of general anatomy" (1829) and "Observations on... the spinal cord" (1837).