Skip to content

Conversation

RahulDey12
Copy link

pID is not the id required to remove the Item its row ID.

if (this.vTaskList[i].getID() == pID) this.vTaskList[i].setToDelete(true);

@DevAshishY
Copy link

ok

1 similar comment
@DevAshishY
Copy link

ok

@mariohmol
Copy link
Collaborator

good catch..
maybe we can add both.. by ID or Row?

@RahulDey12
Copy link
Author

@mariohmol That will also work. Just to clarify the confutions

@mariohmol
Copy link
Collaborator

I'm sorry, I 'm confused now.

The code does check by pID, not by row number...what Am I missing here?

thanks

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

Successfully merging this pull request may close these issues.

3 participants