隐藏表行以编程方式创建 [英] Hiding table row created programatically
本文介绍了隐藏表行以编程方式创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想隐藏正在显示文件的行,如果我们在gridview中显示数据,则可以将其隐藏,但是在这里我正在创建表并以这种可编程性添加行,因此我没有用于动态创建行的ID.因此我无法同时使用javascript.
您能给我任何线索或线索来隐藏特定行吗?
[已编辑]已修复次要拼写错误[/已编辑]
I want to hide the rows which are displaying files and it can be hidden if we display data in gridview but here i am creating table and adding rows in that programmability so i dont have id for dynamically created rows. so I am not able to use javascript also for the same.
can u give me any lead or clue to hide the particular row.
Fixed Minor Spelling Errors[/Edited]
推荐答案
在动态创建行时为每行创建ID.
检查此
隐藏表格 [ HtmlTable类 [ ^ ]
Create ID for every row when you are creating rows dynamically.
Check this
Hide a table[^](Check the code)
FYI HtmlTable Class[^]
这篇关于隐藏表行以编程方式创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文