db.dogs.insert(dog_name='daisy')

def dogs():
    db.dogs.dog_name.represent = lambda value, row: DIV(value if value else
        '-', _class='dog_name', _id=str(row.id) + '.dog_name')
g = SQLFORM.grid(db.dogs, searchable=False, csv=False, user_signature=False)
return dict(form=g)

def upd_dog_name():
    id, column = request.post_vars.id.split('.')
value = request.post_vars.value
db(db.dogs.id == id).update(**{column: value})
return value
web2py inline editable grid