Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到,当您在 TDBGrid 中进行多选时,选择了许多行并删除了一条记录,该记录被删除得很好,但是您的选择在删除的记录下方发生了变化。所有行都向上移动一个,但选择保持在同一位置 - 因此选择有效地向下移动一个记录。
当发生删除(或以某种方式修复网格的行为)时,是否有一种简单的方法可以在网格中保留选择?