Is it possible to add a record in the gridview?

i've found plenty of examples on doing using a master/detail but it would nice to do all the actions in one spot.