﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » How do I use an Infragistics UltraGrid in my app?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 06 Apr 2026 17:00:09 GMT</lastBuildDate><ttl>20</ttl><item><title>How do I use an Infragistics UltraGrid in my app?</title><link>http://forum.strataframe.net/FindPost9959.aspx</link><description>Hi all.  You guys have been great helping me get up to speed and I appreciate you time and effort. Now I need to use a Ultragrid and I'm totally lost.  I dropped a BO on the form, added my UltraGrid (7.1) and manually bound to the BO but no columns displayed in the start wizard.  So, obviously I'm missing something. Do I need to add anything else to facilitate the connection?  Please explain this step by step and keep it simple for a simple man if you can.. lol.&lt;br&gt;
&lt;br&gt;
BTW. This is a maint form and the grid is a child of the parent record.  I will finally have 3 child grids on this form in tabs.  FYI: Its a customer table and the child tables are related tables.  The child BO's are related to the parent BO on the form. I think this describes the situation properly.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Robert</description><pubDate>Thu, 05 Jul 2007 16:29:01 GMT</pubDate><dc:creator>Robert Carl Johnson</dc:creator></item><item><title>RE: How do I use an Infragistics UltraGrid in my app?</title><link>http://forum.strataframe.net/FindPost10002.aspx</link><description>Michael, thanks for your replys. Your examples have helped me very much.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Robert</description><pubDate>Thu, 05 Jul 2007 16:29:01 GMT</pubDate><dc:creator>Robert Carl Johnson</dc:creator></item><item><title>RE: How do I use an Infragistics UltraGrid in my app?</title><link>http://forum.strataframe.net/FindPost9999.aspx</link><description>Michael,&lt;/P&gt;&lt;P&gt;Thanks for all of your detailed help here! :)&amp;nbsp;</description><pubDate>Thu, 05 Jul 2007 16:15:38 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: How do I use an Infragistics UltraGrid in my app?</title><link>http://forum.strataframe.net/FindPost9994.aspx</link><description>Hey Robert,&lt;/P&gt;&lt;P&gt;Use of the calendars is pretty straight forward. I mainly use the grid for drilling down to&amp;nbsp;a SF form. So what is important to me is navigating records and appropraite display of mundane things like category records. The following will code will be useful in helping to make it (the grid) look human readible. My experience with the designer is mixed. I have spent a lot of time configuring the grid only to loose all my work. So I code on. &lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Private Sub gridSubjects_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles gridSubjects.InitializeLayout&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; With Me.gridSubjects.DisplayLayout&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '.AutoFitColumns = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gridSubjects.DisplayLayout.Bands(0).LevelCount = 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Layout.Bands(0).Columns("ID").Header.VisiblePosition = 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Layout.Bands(0).Columns("SubID").Header.VisiblePosition = 2&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Layout.Bands(0).Columns.Add("ubRecType").DataType = GetType(System.String)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Layout.Bands(0).Columns("ubRecType").Header.Caption = ("Record Type")&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Layout.Bands(0).Columns("ubRecType").Header.VisiblePosition = 3&lt;BR&gt;&amp;nbsp; End With&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;'for printing&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect&lt;BR&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;BR&gt;--------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Private Sub gridSubjects_InitializeRow(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeRowEventArgs) Handles gridSubjects.InitializeRow&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim BORecordType As New ORION_BO.BOGenRecTypeCodes&lt;BR&gt;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'This line of code will get the value of the record by record column value. &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORecordType.FillByPrimaryKey(BOSubjects.RecTypeID)&lt;BR&gt;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Note, you must first do an unbound setup. &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Row.Cells("ubRecType").Value = BORecordType.Description&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;'Cleanup Programatically Created BO's&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BORecordType.Dispose()&lt;/P&gt;&lt;P&gt;End Sub&amp;nbsp;</description><pubDate>Thu, 05 Jul 2007 15:28:11 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: How do I use an Infragistics UltraGrid in my app?</title><link>http://forum.strataframe.net/FindPost9965.aspx</link><description>Ok Michael, I got my connection and I understand your comment regarding wizards.  Can you give me some code examples using:&lt;br&gt;
&lt;br&gt;
InitializeLayout&lt;br&gt;
&lt;br&gt;
InitializeRow &lt;br&gt;
&lt;br&gt;
I need to add ultracombo box's and ultraCalulators and ultraCalendars to columns.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks for all your help so far...&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Robert</description><pubDate>Wed, 04 Jul 2007 12:44:36 GMT</pubDate><dc:creator>Robert Carl Johnson</dc:creator></item><item><title>RE: How do I use an Infragistics UltraGrid in my app?</title><link>http://forum.strataframe.net/FindPost9964.aspx</link><description>Yeah pretty much. &lt;/P&gt;&lt;P&gt;I am trying to stay away from the wizards. You will find yourself using the following a lot.&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;InitializeLayout&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;InitializeRow&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now do not get your hopes up too much on the some of the fancy leveling you can do with a direct connection. We have been asking for and the&amp;nbsp;SF gang are looking into that.&lt;/P&gt;&lt;P&gt;Michael</description><pubDate>Wed, 04 Jul 2007 11:46:36 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: How do I use an Infragistics UltraGrid in my app?</title><link>http://forum.strataframe.net/FindPost9962.aspx</link><description>Thanks for the reply Michael, I'll give that a shot.  "To make it look pretty you have to do some coding" are you saying that I can't use the wizard to set parameters?&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Robert</description><pubDate>Wed, 04 Jul 2007 11:13:53 GMT</pubDate><dc:creator>Robert Carl Johnson</dc:creator></item><item><title>RE: How do I use an Infragistics UltraGrid in my app?</title><link>http://forum.strataframe.net/FindPost9961.aspx</link><description>Hey Robert,&lt;/P&gt;&lt;P&gt;You have to use the Business Binding Source to attach the the BO. Then attach the Grid datasource to the BBS. &lt;/P&gt;&lt;P&gt;To make it look pretty, you have the do some coding.&lt;/P&gt;&lt;P&gt;Michael&amp;nbsp;</description><pubDate>Wed, 04 Jul 2007 10:34:16 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item></channel></rss>