ultrawingrid

How can we set the visibility of a button placed inside a Infragistrics Windows Grid control

I have a form where i have used Infragistics windows grid control to display the data. In this, i have placed a button on one of the cell. I want to set its visibility either True or False based on the row condition. I have handled the InitializeRow event of UltraWinGrid control and able to disable the button. But i am unable to set th...

Infragistics Windows Grid

I'm using the Infragistics WinForms UltaGrid control and I'm setting the RegexPattern property. How do I get the grid cell I'm setting the RegEx for to actually use that pattern to restrict entry? Or am I misunderstanding how the RegexPattern property works. Jeff ...

Infragistics grid "on-demand" appearance

We're using Infragistics grid (most probably, we'll have 8.2 version at the end) and we want to configure row/cells appearances "on-demand" in order to be able to provide sort of "dynamic appearance". For example, I want some cell to be red or green, depending on its value. We might want to tweak other characteristics as well (font, siz...

Mimicking the UltraGridColumnChooser's drag & drop ability

(Infragistics 2008 Vol. 3, CLR 2.0) Infragistics's UltraGrid comes with a column chooser user control, which is simply a vertical arrangement of columns with checkboxes that toggle a column's hidden state. In addition, it allows you to pick a column and drag it directly to the grid so you don't have to manually position it afterwards. (...

CheckBox to each GroupByRow in the UltraWinGrid

Statically how can I add a CheckBox to each GroupByRow in the UltraWinGrid? ...

UltraWinGrid Data Binding to Hierarchical Objects

My situation: I have a .Net Windows application in VB.Net I'm upgrading from .Net Framework 1.1 to 2.0 I'm using Infragistics NetAdvantage 2004 Volume 3 My issue: I have an object hierarchy that looks like this, where ArrayListOfBand1Objects is my DataSource for an UltraWinGrid: ArrayListOfBand1Objects [ArrayList] [Band1Class] C...

Upgraded Infragistics and my application is not allowing Ultrawingrid to be editable anymore

I have an application that uses the Ultra Win Grid and has a column with a check box in it. It used to be that when I clicked on the check box it would allow you to edit it but now you can't. Already checked and I am setting CellClickAction to Edit and CellActivation to allow edit. I used to be using 6.3 and upgraded to 9.1. The prob...

Infragistics UltraWinGrid Delete Confirmation

By default the ultraWinGrid pops up a delete confirmation box for any row deletions. How do I turn that feature off? If i'm deleting in the code, it's no problem: myUltraGrid.DeleteSelectedRows(False) But I don't know how to apply that when the user presses the delete key. ...

Making Infragistics UltraGrid Columns have "Spring" Behaviour

Oout of the box the Infragistics UltraGrid control allows you to make the last column in a grid spring to fill the remaining unused portion of the grids bounding rectangle. ____________________________ | Col1 | Col 2 | Col 3---->| | | I have searched but cannot find a method of making a column that is not the ...

How can I emulate key press with copy & paste in an Infragistics UltraWinGrid?

I am using the Infragistics UltraWinGrid (version Win 9.1). The default behavior is to allow the user to type text into a cell. When one copies multiple cells from an Excel spreadsheet, only the first cell's data will be pasted into the UltraWinGrid. One can easily change the behavior to paste multiple cells by setting the UltraWinGrid ...

How do I make pressing the Enter key cause focus to move to the cell below like Excel's default behavior?

I am using an Infragistics UltraWinGrid v9.1. I want to allow the user to enter numerical data in a cell, press Enter and then have the focus on the cell below, like you see in Excel. It appears that the KeyUp event might be better than the KeyPressed event for this, but I keep throwing an exception that I have gone beyond the bounds of ...

How do I Add unbound columns to an Infragistics UltraGrid only once without throwing an exception?

With the NetVantage Windows Forms 9.1 UltraGrid, I want to add some unbound columns to do some simple calculations. The first time this code is entered in the InitializeLayout delegate, it finds that the columns don't exist yet and then adds them. Suprisingly, when I get new data, rebind the grid, and then enter this delegate again, it s...

How to get Embedded Editor Control of UltraWinGrid on CellChange Event

I am associating a user control as Editor control of UltraWinGrid in InitializeLayout event. What I am trying is to retrieve the Editor Controls instance when I am chaning cell value. ...

Are there alternatives to UltraWinGrid?

I've been using the Infragistics UltraWinGrid for a while in a C# project, and while it's very spiffy, it is sometimes a bit heavy to run (and editing it in Visual Studio can be hazardous). I'm looking for a lighter alternative. Looks (always a big plus with Infragistics) are not as important as functionality. Namely, I'm looking for a ...

How to cause a GridView to allocate its memory as XML

TL;DR: When browsing a program's DataGridView control's properties using ManagedSpy it causes that program to allocate its DataGridView data as XML in its memory. How can I cause that same thing to happen from my program? (it's not quite a DataGridView, the control is called Infragistics.Win.UltraWinGrid.UltraGrid) Full Story: I'm usin...

Making Infragistics ultrawingrid, desired columns readonly

I am stucked at the situation where I need to disable few columns of a each row ,except newly added row. That is I have 10 columns in grid and I want first three columns that are binded from the rows coming from db as disabled or read-only, rest are editable. if I add new row then all columns of new row must be enabled until and unless ...

How to exit grid with ctrl-TAB when grid is on a tabpage (onkeydown works when grid not on tabpage)

winforms .net 3.5 Ultrawingrid 9.2 In my subclass of Ultrawingrid.Ultragrid : Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs) If e.KeyCode = Windows.Forms.Keys.Tab andalso e.control = True then SetFocusToNextControl(True) End if Mybase.OnKeyDown(e) End Sub This works fine. But w...

Ultrawingrid - how to display #1/1/1800# as blank ( as if null )

Ultrawingrid 9.2 VS2008 .net 3.5 My wingrid uses a bindingsource. All datetimes which are null in SQL Server are delivered to the bindingsource as #1/1/1800# I would like Ultrawingrid to display this date as blank as it would a null from source. Also, if the date is null in the grid ( i.e. blanked out ) I would like to update the dat...

Update an UltraWinGrid cell programmatically

I'm wondering if somebody can show me how to update an UltraWinGrid cell programmatically. And my intention is that the UltraWinGrid's BeforeExitEditMode event will be called subsequently. Here's some of my code: Friend With Events uddInventory As UltraWinGrid.UltraDropDown Public Sub Example() Dim dv As New DataView(m_dtInventory) dv....

Dataadapter and datasets issue

Hi all! I have the following situation - three tables in the db : - um_users (id, name) - um_roles (id, description) - um_user_roles (user_id, role_id) I load into a data set two datatables : the "users" one, and another one build on the other two, like this : _cmd = new OracleCommand("select * from um_users", _conn); _odaUsers ...