Hi,
I am using MVC 3 and Infragistic Grid for showing data.
@(Html .Infragistics() .Grid<Measurement>(Model.Measures) .ID("wbGrid")
.AutoGenerateColumns(true)
.Features(features => { features.Paging().PageSize(50).TotalRecordsCount(measurements.Count); features.Resizing(); })
.Height("400px")
.DataBind()
.Render() )
I have records with over 100 columns. I want the columns to increase width as per the text.
But the columns are getting shrinked. Here is screenshot for reference https://www.dropbox.com/s/5n1588q23swarvj/igGrid_Column_Width_Issue.png
I am stuck. Please respond as quickly as possible.
you said its working .
could you please provide snippet. I have done in same suggested as in forum but its not working
Hi Martin, Your responses were indeed helpful. Thanks a lot.
Thanks a ton Martin.
I actually disabled fixed headers(headers to be always visible) on purpose. That's because when fixed headers are enabled they are rendered in a separate TABLE element and there is no easy way to determine each header width. The result is that the grid header is out of sync with the grid data (which is rendered in a separate table).
When fixed headers are disabled the grid is rendered in one table (headers + data), thus the data and headers are in sync.
I cannot think of a way to make grid headers fixed and sync them with grid data columns.
Best regards,
Martin Pavlov
Infragistics, Inc.
Hello Dhanraj,
As explained here - http://help.infragistics.com/NetAdvantage/jQuery/2012.1/CLR4.0?page=igGrid_Columns_and_Layout.html – when Fixed Headers are disabled column headers will be scrolled with the columns.
This is expected behavior.
If you need additional information let us know.