Uitable: deleting row selected problem
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
dpb
2013-8-4
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. :)
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!