|
-
Jul 30th, 2003, 10:33 AM
#1
Thread Starter
Lively Member
Infragistics Grid
Hi,
Has anyone had any experience with the InfragisticsWinGrid? I'm currently working with it and have figured most things out but am having a problem setting default values. When the user enters new information I have specific cells that turn to dropdowns with a list of prefilled data. I would like to set the default value in that dropdown based on the users choice when they begin to enter new information but also give them the ability to change it as needed.
Here is the code I have so far in the UltraGrid1_InitializeLayout
'==> Create UltraGrid Value List for Location
Me.UltraGrid1.DisplayLayout.ValueLists.Add("Location")
With Me.UltraGrid1.DisplayLayout.ValueLists("Location").ValueListItems
.Clear()
.Add("NEW YORK")
.Add("NEW JERSEY")
.Add("GEORGIA")
.Add("TEXAS")
End With
'==> Set "DropDown Properties for Location
.Bands(0).Columns("Location").Style = ColumnStyle.DropDown
.Bands(0).Columns("Location").ValueList = UltraGrid1.DisplayLayout.ValueLists("Location")
Where do I set the defalut value?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|