I have used a radGridView with the autosizecolumnmode set to "fill". I want to use fillweight property to control the percentage of column widths in the grid. But I cant find the fill weight property. How can I set fillweight property for a column in the winform readgridview?
kind regards..
1 Answer, 1 is accepted
0
Kiril
Telerik team
answered on 19 Jun 2008, 02:52 PM
Hello Sofia,
Thank you for writing.
Currently, RadGridView does not support a fill mode which uses a part of the total width of the control. Still, you can implement this fill mode yourself, by setting the width of each column to a share of the width of the control.
You also have to handle the ColumnWidthChanged event of the RadGridView, which is fired everytime a column is resized at runtime. In the handler you have to set column widths so that the column width sum is kept equal to a certain part of the total width everytime a column is resized.
If you have any additional questions, please let me know.