Hi,
I got a little problem with the resizing of Grid columns. I defined my Grid like this:
All my columns are defined programatically like this:
So I am able to resize my columns. But if I resize them so much that the grid's former size is bigger than the actual one I still see some kind of rest of the header (some coloured stuff without font).
Moreover it seems to me that the ClipCellContentOnResize property does not have any effect on the behaviour. I still can resize the columns as narrow as I wish if I set it to false.
Another thing I realized is that the columns which are empty are sortable but all others are not. Is there any reason for this?
I would be glad about any help.
Best regards
Ferdinand
I got a little problem with the resizing of Grid columns. I defined my Grid like this:
| <telerik:RadGrid ID="RadGrid1" runat="server" CssClass="radGrid" MasterTableView-NoMasterRecordsText="Keine Daten zum Anzeigen" |
| BorderStyle="None" AutoGenerateColumns="false" EnableViewState="true" AllowSorting="True" Height="450" |
| AllowPaging="true" PageSize="40" Width="97%"> |
| <PagerStyle Visible="false" /> |
| <MasterTableView TableLayout="Fixed" /> |
| <ClientSettings> |
| <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" /> |
| <ClientEvents OnScroll="HandleScrolling" /> |
| <Resizing AllowColumnResize="true" EnableRealTimeResize="true" ResizeGridOnColumnResize="true" ClipCellContentOnResize="false" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
| GridTemplateColumn tf = new GridTemplateColumn() |
| { |
| HeaderTemplate = new EditTemplate(Resources.ToolbarRes.Edit_text, DataControlRowType.Header, editButton_Click), |
| ItemTemplate = new EditTemplate(Resources.ToolbarRes.Edit_text, DataControlRowType.DataRow, editButton_Click) |
| }; |
| tf.HeaderStyle.Width = 90; |
| tf.Resizable = false; |
| this.RadGrid1.Columns.Add(tf); |
So I am able to resize my columns. But if I resize them so much that the grid's former size is bigger than the actual one I still see some kind of rest of the header (some coloured stuff without font).
Moreover it seems to me that the ClipCellContentOnResize property does not have any effect on the behaviour. I still can resize the columns as narrow as I wish if I set it to false.
Another thing I realized is that the columns which are empty are sortable but all others are not. Is there any reason for this?
I would be glad about any help.
Best regards
Ferdinand