如何在差异中选择多个行网格视图中的颜色 [英] How to select multiple rows in diff. color in gridview

查看:84
本文介绍了如何在差异中选择多个行网格视图中的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有网格.

当我使用悬停或其他格式选择行时,如果网格中的颜色应突出显示.

如何选择带有颜色的多行.因此应该选择并突出显示这些行.


Hi,

I have the grid.

When i select the row using hover or someother format, it should get highlighted if color in the grid.

How to select multiple rows with color. so those rows should get selected and highlighted.


How to do this in grifview...?

推荐答案

将dataview用作gridview的数据源.
您可以将数据表添加到数据视图,但可以设置过滤器!因此您不需要第二个gridview
USe dataview as datasource for gridview.
You can add the datatable to the dataview but you can set filters! so you don''t need a second gridview


GridView
ItemTemplate中使用Checkbox 类似Hotmail的鼠标悬停在&鼠标移出对GridView的影响 [ ^ ]
选择/取消选择GridView中的所有复选框 [维护GridView内部不同页面中选定复选框的状态 [
Use Checkbox in the ItemTemplate of GridView
Hotmail-like Mouse Over & Mouse Out Effects on GridView[^]
Selecting / Deselecting all the CheckBoxes Inside a GridView[^]
Maintaining States of Selected CheckBoxes in Different Pages inside the GridView[^]


这篇关于如何在差异中选择多个行网格视图中的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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