framework-widget
framework-widget copied to clipboard
New TableView's RemoveRows function crashes if the row to remove is not within the visible view
-- The row isn't within the visible bounds of our view
else
-- Re calculate the scrollHeight
self._scrollHeight = self._scrollHeight - row._height
if self._scrollBar then
self._scrollBar:repositionY()
end
-- decrement the table rows variable
self._numberOfRows = self._numberOfRows - 1
removeRow( i )
end
This crashes simply because the function 'removeRow' does not exist