Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bernal-pablo opened this issue Sep 28, 2016 · 0 comments

Comments

@bernal-pablo
Copy link

bernal-pablo commented Sep 28, 2016

-- 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

@bernal-pablo bernal-pablo changed the title RemoveRows crashes if the row to remove is not within the visible view New TableView's RemoveRows function crashes if the row to remove is not within the visible view Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant