Using getIndex with Tabulator

Expanding on this a little.

I made my own copy of the tabulator anvil app to use as a dependency.

In this copy, I made the following changes:

    def cell_click(self, e, cell):
        return self.raise_event(
            "cell_click", field=cell.getField(), row=cell)
        )

However, when I attempt to get the index of the cell I get the following error:

AttributeError: 'a (native JS)' object has no attribute 'getIndex'

I was trying to follow the tabulator documentation: link

Get Index
The getIndex function returns the index value for the row. (this is the value from the defined index column, NOT the row's position in the table)

var rowIndex = row.getIndex();

Is cell now a tabulator row object? Or does there need to be a change in the anvil JS code to access this attribute?