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.