Fixed bugs with TbGridView

Signed-off-by: 'kiyanov' <'kiyanov.alex@gmail.com'>