DGV显示 [英] DGV Display

查看:63
本文介绍了DGV显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我具有以下形式:

如您所见,这里有两个DGV.左边的一个不过是供某人进行电子签名的DGV,右边的一个是单击添加批准者"按钮时出现的,以便可以将批准者添加到左边的DGV.

As you can see there are two DGVs here.  The one on the left is nothing but a DGV for someone to e-sign on and the one on the right is one that appears when the Add Approver button is clicked so that approvers can be added to the left DGV.

一切都按要求工作,但我不喜欢的是在两个DGV中第一行都突出显示(在左侧单元格中).

Everything is working as required, but what I do not like is that in both DGVs the first row is highlighted (in the left hand cell).

我希望没有高亮显示的单元格,并且一直无法实现.谁能向我解释如何实现?

I would like there to be NO highlighted cells and have been unable to make that happen.  Can anyone explain to me how this can be achieved?

gwboolean

gwboolean

推荐答案

您是说不想让单元格突出显示吗?

Do you mean you never want the cell to be highlighted?

如果是这样,请尝试

Private Sub CustomersDataGridView_SelectionChanged(
    sender As Object,
    e As EventArgs) Handles CustomersDataGridView.SelectionChanged

    CustomersDataGridView.ClearSelection()

End Sub


这篇关于DGV显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆