Infragistics Webgrid (Datagrid) dynamic adjusting columns

Posted by mattgcon on Stack Overflow See other posts from Stack Overflow or by mattgcon
Published on 2010-03-16T06:14:59Z Indexed on 2010/03/16 6:26 UTC
Read the original article Hit count: 629

Filed under:
|
|
|
|

I want to explain this as best as I can. I have a Webgrid with a certain amount of columns. What I want is for the columns to adjust to the size of the largest string within each column, where the total of all width of columns does not exceed the width of the webgrid. At the same time however if the width of all columns is less than the width of the webgrid I want each column to adjust proportionately so that the total of columns widths equal the width of the webgrid.

Can anyone help me with this logic?

© Stack Overflow or respective owner

Related posts about infragistics

Related posts about webgrid