Hello,
I am using an editor to set the min/max values of cells within my ultra grid, but now I must obtain these values in a cell event in order to check the user input and make sure it does not go lower/higher than the min/max values that I had set.
Is there a way to do this? Thank you in advance,
-Emma
Hi Emma,
I recommend using the column itself to set the min and max values. If you set it this way, the grid will automatically handle checking that the user inputs valid values.
ultraGrid1.DisplayLayout.Bands[0].Columns["Column 0"].MinValue = 1;ultraGrid1.DisplayLayout.Bands[0].Columns["Column 0"].MaxValue = 100;
Please try this out and let me know whether it works for you.
Hi Mike,
Unfortunately, I need to set different min/max values for each cell, so using the columns won't work in my case.