addTable function

Attach or detach GVector's data table