数据网格事件 [英] datagrid event
本文介绍了数据网格事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在ItemDataBound
事件之后更改数据网格的设计.一旦整个数据都在网格中,那么我想通过相互比较数据来更改某些单元格合并和删除操作.
由于无法在ItemDataBound
中编写代码,因为在执行操作之前需要完整的数据.
I want to change the design of a data grid after ItemDataBound
event. Once whole data is in the grid then I want to to change some cell merging and deleting operations by comparing data with each other.
As I cant write my code in ItemDataBound
as I need whole data before doing the operations. What would be the probable approach to solve this issue?
推荐答案
然后,您必须先加载数据,然后循环遍历行(/cells)并格式化行(/cells);据我了解您的问题.
Then you have to let the data load first, and then loop through rows(/cells) and format the rows(/cells); as far as I understand your question.
这篇关于数据网格事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文