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
295
Column Setting
posted

Hi, 

I would like to create a column setting for my grid which accepts a unitdisplayformat and displays it after the column value.

So grid with 

1     6
2     6
3     6
4     6

becomes

1kg     6
2kg     6
3kg     6
4kg     6

How should the column setting processor handle this?

Thanks in advance!
 

Parents
  • 53790
    Verified Answer
    posted

    Hello Tobias,

    If I understand well your scenario (I mean if you have two columns - the first column contains values (1,2,3,4) and your second column conatins values (6,6,6,6)), then maybe you could use Format property of your first column. For example:

    ultraGrid1.DisplayLayout.Bands[0].Columns["B"].Format = "###, ###, ###.## kg";

    the result should be:

     

Reply Children