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.
我将 jqgrid 与 multiselect 一起使用:true,通过一些“复选框”过滤器。
如果我检查所有行。然后我取消选中一些复选框(某些行将被过滤)
它过滤正确,但选择背景颜色丢失(变为白色)。
任何人都可以帮助我,如何阻止这种情况。
您可以尝试使用 onSelectedRow 方法将行 ID 保存在数组中,并在过滤器完成后选择所需的行。我确定这不是最好的主意,但这种解决方法可以解除对您的阻止。
希望能帮助到你