Update graphTable.js

Add support for table view