grid api

see comment below about call signature, in the code it looks like (name, data), not (data, name)