add trn_grid_set_row function

this function is used to shorten the fnc trn_grid_fill
this solves the issue #14