访问Telerik网格中的单元 [英] Accessing cells in a Telerik grid

查看:52
本文介绍了访问Telerik网格中的单元的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我在这里有一个telerik网格,我想遍历网格并访问单元并根据条件进行某些操作,任何帮助都非常重要,这就是我认为这只是很小的一部分需要更改.

Hey I have a telerik grid here and I want to loop through the the grid and access the cells and do something based on a condition, any help is very apreciated, here''s what I have I think its just something small needs to be changed.

If Convert.ToBoolean(dataItem(RadGrid1.Columns(ciDELETED_INDEX)).Text) Then
    For Each cell As TableCell In RadGrid1.Items
        If cell.Text <> gs_WEB_SPACE Then
            cell.Font.Strikeout = True
        End If
    Next
End If


在此先感谢


Thanks in advance

推荐答案

^ ]


这篇关于访问Telerik网格中的单元的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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