GridView Similar to TableView

I’m trying to create a Grid View similar to ios’s CollectionView which has an api like TableView.

I’m using raw TableView as a base but I’m getting the following error:

TypeError: cc.ScrollViewDelegate is undefined

I’m including the extensions and external modules in my project.json. How can I get this working, or is there any solutions that have already been made that is a tableview with multiple columns?

For now what I’m going to do is just keep a multi dimensional array and having a table view with cells containing a “row” of items. Every time an object gets added to the datasource, it will modify the multi dimensional array and the data source will load each row as a single cell.