North American Sales: 1-800-231-8588
Global Contacts
My Account
Menu
North American Sales: 1-800-321-8588
My Account
Sign In/Register
Design & Development
Design & Develop
Best Value
Infragistics Ultimate
The complete toolkit for building high performing web, mobile and desktop apps.
Indigo.Design
Use a unified platform for visual design, UX prototyping, code generation and application development.
Web
Ignite UI for Angular
Ignite UI for JavaScript
Ignite UI for React
Ultimate UI for ASP.NET
Indigo.Design
Desktop
Ultimate UI for Windows Forms
Ultimate UI for WPF
Prototyping
Indigo.Design
Mobile
Ultimate UI for Xamarin
Ultimate UI for iOS
Ultimate UI for Android
Automated Testing Tools
Test Automation for Micro Focus UFT: Windows Forms
Test Automation for Micro Focus UFT: WPF
Test Automation for IBM RFT: Windows Forms
UX
Indigo.Design Desktop
Collaborative prototyping and remote usability testing for UX & usability professionals
Indigo.Design
A Unified Platform for Visual Design, UX Prototyping, Code Generation, and App Development
Business Intelligence
Reveal Embedded
Accelerate your time to market with powerful, beautiful dashboards into your apps
Reveal App
Empower everyone in your organization to use data to make smarter business decisions
Team Productivity
Learn & Support
Support
Help & Support Documents
Blogs
Forums
Product Ideas
Reference Applications
Customer Stories
Webinars
eBook & Whitepapers
Events
Free Trials
Pricing
Product Pricing / Buy Online
Renew Existing License
Contact Us
Forums
Retired Products and Controls
Your Privacy Matters
: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use.
Cookie Policy
Close
State
Not Answered
Replies
1 reply
Subscribers
3 subscribers
Views
320618 views
Users
0 members are here
UltraWebGrid (Retired)
ASP.NET
Share
More
Cancel
75
Grouping multiple columns in ultrawebgrid
Johan
posted
over 16 years ago
Basically I need to group by multiple columns since one of them has different fields. Example:
column1 column2 column3
bla bla test 1
bla bla test 2
bla bla test 3
What i need is that it groups column1 and column2 so that it expands to show what there is in column3. I am currenty using version 7.1 don't know if it supports this functionality This is the code that I am using but it still displays a flat grid.
Here's the code I am using grid.
DisplayLayout.ViewType =Infragistics.WebUI.UltraWebGrid.ViewType.OutlookGroupBy
grid.DisplayLayout.SelectTypeCellDefault = UltraWebGrid.SelectType.Extended grid.DisplayLayout.BorderCollapseDefault = UltraWebGrid.BorderCollapse.Separate
grid.DisplayLayout.LoadOnDemand = UltraWebGrid.LoadOnDemand.Automatic
grid.DataBind_Grid() grid.DisplayLayout.Bands(0).SortedColumns.Clear()
For Each uwgCol As UltraWebGrid.UltraGridColumn In grid.Columns
If uwgCol.Key <> "roleName" Then grid.Columns(uwgCol.Index).IsGroupByColumn = True grid.DisplayLayout.Bands(0).SortedColumns.Add(uwgCol.Key)
End If
Next
Dim row As UltraWebGrid.UltraGridRow
For Each row In grid.Rows
row.ShowExpand = True
Next row
Parents
No Data
Reply
75
Johan
posted
over 16 years ago
Sorry for not using fresh lines but somehow the editor bunched my text together
Update: Apparently i had to type it in html for it to keep the formatting -_-
Cancel
Reply
Verify Answer
Cancel
Children
No Data