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
514279 views
Users
0 members are here
% Column
UltraWebGrid (Retired)
ASP.NET
TableLayout
WebGrid
[ultrawebgrid] objectcontainerdatasource
[ultrawebgrid]
bands
column width
Share
More
Cancel
349
Column Widths with grouping bands and fixed table-layout
gRRRok
posted
over 15 years ago
Dear all. I have grid with grouping bands, and use DisplayLayout.TableLayout = Fixed (it is necessary to draw ellipsis on text overflow).
What I need : grid should take 100% width and it should be possible to resize each column (and set their width in pixel or percent).
Setting grid.Width to 100% causes every column grow in width to take available space (just as it is defined in specification for table-layout: fixed). But is causes the column with '+' signs (used for expanding child bands) grow and indentation of child rows becomes wider than it should be.
I've added empty dummy column to the top-level band and tried to set its width to 1) Unit.Empty and 2) Unit.Percentage(100). The variant 1) as I suppose should tell browser to expand only this column, but it doesn't work that way. Variant 2) is a little bit better - until we resize any column - immediately after resizing ALL the columns are expanded, causing the described above ugly look.
As I found, the width of the dummy column is set to some particular value in pixels - by Infra scripts, I guess.
Summing it up - is there any way to make the column 'fluid' OR/AND fix the width of the column (set it to 20 px, for example).
Any ideas?
349
gRRRok
posted
over 15 years ago
Important notice:
The width of all columns is set to percents.
I found the method "function igtbl_lineupHeaders(colId,band)" in
ig_webGrid.js
, called on mouse down on row header (to resize the column). It has some condition check of column width set to percents and it causes columns to resize.
Cancel
Reply
Verify Answer
Cancel