Private Sub SetupGrid() ' Set the "quantity" column to only allow numbers greater than 0 and less than 1. ' Me.ultraGrid1.DisplayLayout.Bands(0).Columns("quantity").MinValueExclusive = 0.0 Me.ultraGrid1.DisplayLayout.Bands(0).Columns("quantity").MaxValueExclusive = 1.0 End Sub
private void SetupGrid() { // Set the "quantity" column to only allow numbers greater than 0 and less than 1. // this.ultraGrid1.DisplayLayout.Bands[0].Columns["quantity"].MinValueExclusive = 0.0; this.ultraGrid1.DisplayLayout.Bands[0].Columns["quantity"].MaxValueExclusive = 1.0; }