![]() |
|
GTP.NET FAQ 11093Calculated columns in a databound Grid Please note that this article
refers to the GTP.NET Jump to article- 2008-01-01 13:04:00 - Email plexityHide Question
I am using the OnBeforeDSToCell event to format some data to be displayed in the grid. But I want one of my columns to be calculated based on two other columns - how can I do this?
Answer
Since the columns are filled from 0 to n, you cannot read the x+1 column when handling OnBeforeDSToCell for column x. But I suggest that you get your data from the datasource instead:
void NodeDataConnect_OnBeforeDSToCell(NodeDataConnect aNodeDataConnect, CellAndDSArgs args)
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |