Get tbl_name rather than name when getting table names
Support all tables for grids
Use correct cell index