Uitable: deleting row selected problem
3 views (last 30 days)
Show older comments
Hi mates
I am having trouble when deleting a selected row in a uitable. My problem is that if i delete the last row, when i reinitialize the table it says the index is out of bounds, as the previous selection is not erased. My question would how to change the user selection once i have deleted the row.
Thanks you in advance
3 Comments
dpb
on 4 Aug 2013
Reformat the code to be legible...then the code will be useful. :)
It takes code to see what actually is going on; descriptions of intent are valuable for context but rarely are sufficient to diagnose a problem. Among the most important of the reasons why is that if the person w/ the problem understood the problem well enough to describe it in sufficient precision as to allow the solution then they could solve it themselves 'cuz there wouldn't be a problem. :)
Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!