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
600
How to Formula by part1 and part2?
posted

hello.

please look at the Image. How to formula the column by part1 and part2?  thanks!

  part1 part2 num formula(SUM BY PART1 AND PART2)
1 A S 5 10
2 B S 10 10
3 C S 5 20
4 A S 5 10
5 A T 35 35
6 B T 20 45
7 B T 25 45
8 C S 15 20
Parents
  • 71886
    Offline posted

    Hello psky,

    Looking at your table I can see that you are referring to string columns. You could hook to the 'InitializeRow' event of the 'UltraGrid' and assign the string values of the corresponding cells to the formula cell:

            private void ultraGrid1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)

            {

                e.Row.Cells[2].Value = e.Row.Cells[0].Value.ToString() + e.Row.Cells[1].Value.ToString();

            }

    Please feel free to let me know if a question about our tool set comes up on your mind.

Reply Children