Hello,
I am working on ultrawingrid. I have data in a cell 1234-456-789
Based on some conditions i need to edit the first four digits(1234) and keep other part same and
based on some conditions i need to edit second part (456) and keep th eother two parts same.
and for some condtions i will be able to edit first and second(1234-456) and keep the other part same. and
The cell should take only numeric values , for the firat part the max value is 0 to 9999 and for the second part max value is 0-999 .
Please help me on this.
Thanks.
Please can anyone help me out with this scenarios
Hello Ishnant,
Please try the following settings and see if they help:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands[0].Columns[0].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.IntegerPositive; e.Layout.Bands[0].Columns[0].MaskInput = "####-###-###"; e.Layout.Bands[0].Columns[0].Format = "####-###-###"; }
Please feel free to let me know if I misunderstood you or if you have any other questions.
Hi Boris,
I got this working through custom code.
I got some own ideas about this but never went down the road implementing them as I am sure it will be far from perfect. I am very curious of your resolution. Could you please provide the code you are using if possible, I believe that the other community members could benefit from it as well as me.
Thank you in advance.
Sure , I will post the code.
thanks.
I will post the code in detail obver teh weekend.
Yes, take your time. I will be waiting for it, it is interesting to me, so I am going to follow this thread. Have a nice weekend!