Solved

Infragistics Ultragrid

Posted on 2016-08-01
3
107 Views
Last Modified: 2016-08-08
I'm using the Infragistics Ultragrid in a VB.NET desktop app.  I'm setting a column to only allow non-negative integer data.    I have multiple forms that use this grid and I'm using the same column settings on each  form.  One a single form there an issue - the last three lines of code below DO NOT take effect for the first row that is added to the grid until I tab out of that quantity field.  Once I tab out, all is fine for the quantity cell for ANY row.  But for that first row right after it's added, I can enter alpha character and there's no mask,  I don't know what I'm doing different on this one form.   It is, however, right aligned, as per second line of code.  

Is there a method/property I can use to force the custom column settings to take effect immediately?


 Me.Grid.DisplayLayout.Bands(0).Columns("quantity").Header.Appearance.TextHAlign = Infragistics.Win.HAlign.Right
 Me.Grid.DisplayLayout.Bands(0).Columns("quantity").CellAppearance.TextHAlign = Infragistics.Win.HAlign.Right
 
Me.Grid.DisplayLayout.Bands(0).Columns("quantity").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.IntegerNonNegative
Me.Grid.DisplayLayout.Bands(0).Columns("quantity").PromptChar = " "
Me.Grid.DisplayLayout.Bands(0).Columns("quantity").MaskInput = "nnnnnnnn"
0
Comment
Question by:HLRosenberger
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
anarki_jimbel earned 500 total points
ID: 41738737
Sorry, I have no answer but I just want to give an advice (same as I gave recently answering another question).

As far as I remember no or very few  Infragistics related questions were answered here. Most people just don't know about it at all. I used it years ago, now haven't it installed on my computer and unfortunately can't look at the problem more closely.
I'd suggest you discuss the problem on some of Infragistics forums (that's what I did when worked with Infragistics):
http://www.infragistics.com/community/forums/ .
Or look at
http://www.infragistics.com/community/forums/178.aspx
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41738894
Thanks so much for that info!
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 41747173
thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question