Skip to content

New TableView's RemoveRows function crashes if the row to remove is not within the visible view #14

Description

@bernal-pablo
-- 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions