Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
770
Unable to update e.Row.Cells("Field").Value while in Grid.InitializeRow?
posted

Hi guys, good day to everyone.

Currently I'm using Infragistics.Win.UltraWinGrid.v3.2.

While executing Grid.InitializeRow, I would like to check the value and update if necessary

I'd tried to update the value using the code below.

e.Row.Cells("Field").Value = HitCount(i) , where HitCount(i) is an array.

I'd also checked that HitCount(i) got the correct value, but the above code didn't update e.Row.Cells("Field").Value.

Please advise what I can do in this issue.

Thanks.

.

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    engloon said:
    Currently I'm using Infragistics.Win.UltraWinGrid.v3.2.

    Wow, that's an old one. :)

    engloon said:

    e.Row.Cells("Field").Value = HitCount(i) , where HitCount(i) is an array.

    I'd also checked that HitCount(i) got the correct value, but the above code didn't update e.Row.Cells("Field").Value.

    I can't think of any reason why this would not work. What is the value of the cell before and after this line of code fires? Does the Value property return the correct value if you check it immediately after the line of code that sets it?

    If not, what is it's value?

Children