6 Answers, 1 is accepted
0
Hi,
You most probably refer to the stretched grid rows? Actually this is not additional column - rows are just measured with available width exactly in the same way as in standard Silverlight DataGrid.
Regards,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You most probably refer to the stretched grid rows? Actually this is not additional column - rows are just measured with available width exactly in the same way as in standard Silverlight DataGrid.
Regards,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

veena
Top achievements
Rank 1
answered on 26 Nov 2009, 02:15 PM
Hi,
Thanks for the immediate response.
How can we prevent that. We dont want the column width to be hardcoded.
Thanks in advance
VR
Thanks for the immediate response.
How can we prevent that. We dont want the column width to be hardcoded.
Thanks in advance
VR
0
Hi,
I don't believe that we have hard-coded column width. By default grid columns are with auto width (depends on the cells content) you can however apply different behavior using ColumnWidth property of the grid (for all columns) or Width property per column. For example if you want to stretch all columns you can set ColumnWidth="*" - you can find screenshot attached.
Sincerely yours,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I don't believe that we have hard-coded column width. By default grid columns are with auto width (depends on the cells content) you can however apply different behavior using ColumnWidth property of the grid (for all columns) or Width property per column. For example if you want to stretch all columns you can set ColumnWidth="*" - you can find screenshot attached.
Sincerely yours,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

veena
Top achievements
Rank 1
answered on 28 Nov 2009, 03:15 AM
Hi,
Thanks it solved the issue.
VR
Thanks it solved the issue.
VR
0

tegbir
Top achievements
Rank 1
answered on 21 Aug 2014, 11:59 AM
Hi, I have set column width to * in GridViewDataColumn. After this change, horizontal scrollbar is not working for Grid. Please help
0
Hello Tegbir,
By setting the Width property of the GridViewDataColumn to a string that includes the "*" character, you are telling the column to take the remaining available space. This means that if you have enough or extra space the column will allocate it to its width, thus the horizontal scrollbar will not be shown. However, if you have more columns that can be displayed on one screen, the horizontal scrollbar still does not work, would you please provide us with a sample project that reproduces the issue?
Regards,
Boris Penev
Telerik
By setting the Width property of the GridViewDataColumn to a string that includes the "*" character, you are telling the column to take the remaining available space. This means that if you have enough or extra space the column will allocate it to its width, thus the horizontal scrollbar will not be shown. However, if you have more columns that can be displayed on one screen, the horizontal scrollbar still does not work, would you please provide us with a sample project that reproduces the issue?
Regards,
Boris Penev
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.