Hi! I have been battling this issue for most of the day today. I am trying to get the rows in my webgrid to be able to be expandable by the user. I have used several different properties and none of them work. When I set the "RowSizingDefault" to "Free", it gives me the double arrow cursor but when you click it expands slightly but doesn't allow you to drag and size it that way. You have to keep clicking it to expand it little by little. I have 4 columns frozen and when it does resize the row (little by little) it only sizes the row for those frozen columns and not the UNfrozen ones. It doesn't allow me to resize the ENTIRE row. And the way that it's resizing isn't acceptable to the users.
I'm using Visual Studio 2008, with 2.0 framework, and server side VB code. The Infragistics version I'm using is 8.2, and Internet Explorer version is 7 but most of my users will be using IE 6 for now. That is another issue...the grid rows don't automatically expand in IE version 6 but does in version 7 (when setting the wrap property to "True". That is not a big concern, however. More importantly I need to get the row to be able to be expandable.
Thanks for any help in this matter.
I'm still having this issue...any ideas? Thanks.
Try setting DisplayLayout.TableLayout = Fixed.
As mentioned above, I'm using IE 7. Some of my users are using IE 6 and a problem because the rows don't expand out to the full wrapped text on version 6. But more importantly is that the rows aren't expandable by the user on either version. Here is the ASPX code:
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/SiteTemplate.Master" CodeBehind="StatusReasonDetails.aspx.vb" Inherits="AcctCodingNet2.StatusReasonDetails" %><% @ Register Assembly ="Infragistics2.WebUI.UltraWebGrid.ExcelExport.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.UltraWebGrid.ExcelExport" TagPrefix="igtblexp" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %><%@ Register assembly="Infragistics2.WebUI.UltraWebGrid.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebGrid" tagprefix="igtbl" %><ContentTemplate><table width="100%"><tr><td align="center"><table width="100%"><tr><td align="left" style="width: 100%"><asp:ImageButton ID="btnAddParent" runat="server" ImageUrl="Images/AddNew.jpg" OnClick="btnAddParent_Click" ToolTip="Add a new row to grid" /> <asp:ImageButton ID="btnDeleteRow" runat="server" ImageUrl="images/trash_can.gif" OnClick="btnDeleteRow_Click" ToolTip="Delete select item" /> <asp:ImageButton ID="btnSaveNewRows" runat="server" ImageUrl="Images/FloppyDisk.GIF" OnClick="btnSaveNewRows_Click" Visible="False" ToolTip="Save all new items" /> <asp:ImageButton ID="btnExportExcel" runat="server" ImageUrl="Images/Excel.gif" OnClick="btnExportToExcel_Click" ToolTip="Export to Excel" /> <a href="default.aspx">Run New Query</a></td></tr><tr><td align="left" style="width: 100%"><font face="Verdana" color="black"><small><small>To Sort Ascending, single click any column. To Sort Descending, single click that same column again<br /></small></small></font></td></tr><tr><td align="left" style="width: 100%"><asp:Label ID="lbErrorMsg" runat="server" Text="Error" Font-Bold="True" Font-Size="Medium" ForeColor="#990000" Visible="False"></asp:Label><asp:Label ID="lbStatus" runat="server" Text="Status" Visible="False" Font-Bold="True" Font-Size="Medium" ForeColor="#006600"></asp:Label></td> </tr><tr><td colspan="2"><igtbl:UltraWebGrid ID="grdDetail" runat="server" Width="100%" Height ="550px"><Bands><igtbl:UltraGridBand><AddNewRow View="Top" Visible="NotSet"></AddNewRow><FilterOptions><FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"Font-Size="11px" Width="200px"><Padding Left="2px" /></FilterDropDownStyle><FilterHighlightRowStyle BackColor="#151C55" ForeColor="White"></FilterHighlightRowStyle></FilterOptions></igtbl:UltraGridBand></Bands><DisplayLayout AllowColSizingDefault="Free" AllowDeleteDefault="Yes" AllowUpdateDefault="Yes" AllowSortingDefault="OnClient" HeaderClickActionDefault="SortMulti" BorderCollapseDefault="Separate" Name="ctl06xgrdDetail" RowHeightDefault ="20px" RowSelectorsDefault="Yes" RowSelectorStyleDefault-Width="30" RowSelectorStyleDefault-BackColor="ControlDark" RowSelectorStyleDefault-Cursor="Hand" SelectTypeRowDefault="Extended" Version="4.00" ViewType="OutlookGroupBy" StationaryMargins="Header" TableLayout="Fixed" AllowAddNewDefault="Yes" AllowRowNumberingDefault="Continuous" CellClickActionDefault="Edit" AllowColumnMovingDefault="OnServer" RowStyleDefault-VerticalAlign="Top" RowStyleDefault-Wrap="True" HeaderStyleDefault-VerticalAlign ="Top"><GroupByBox Hidden="True"><BoxStyle BorderColor="Window" BackColor="ActiveBorder"></BoxStyle></GroupByBox><GroupByRowStyleDefault BackColor="Control" BorderColor="Window"></GroupByRowStyleDefault><FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth ="1px"><BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" /></FooterStyleDefault><RowStyleDefault BorderWidth="1px" BorderColor="Silver" BorderStyle="Solid" Font-Size="8.25pt" Font-Names="Microsoft Sans Serif" BackColor="Window"><BorderDetails ColorTop="Window" ColorLeft="Window"></BorderDetails><Padding Left="3px"></Padding></RowStyleDefault><FilterOptionsDefault><FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"Font-Size="11px" Width="200px"><Padding Left="2px" /></FilterDropDownStyle><FilterHighlightRowStyle BackColor="#151C55" ForeColor="White"></FilterHighlightRowStyle></FilterOptionsDefault><HeaderStyleDefault BackColor="Maroon" BorderStyle="Solid" HorizontalAlign="Center" Height="20px" Wrap="True" ForeColor="White" Font-Bold="False" Font-Size="Small"><BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" /></HeaderStyleDefault><EditCellStyleDefault BorderStyle="None" BorderWidth="0px"></EditCellStyleDefault><FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt" Height="550px" Width ="100%"></FrameStyle><Pager><PagerStyle BorderWidth="1px" BorderStyle="Solid" BackColor="LightGray"><BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White"></BorderDetails></PagerStyle></Pager><ClientSideEvents BeforeRowDeletedHandler="BeforeRowDeletedHandler" AfterRowActivateHandler="AfterRowActivate" AfterCellUpdateHandler="AfterCellUpdate" EditKeyDownHandler="KeyDownHandler" KeyDownHandler="KeyDownHandler" EditKeyUpHandler"KeyUpHandler" KeyUpHandler="KeyUpHandler" /><FixedHeaderStyleDefault BackColor="ControlDark" Font-Size="Larger"></FixedHeaderStyleDefault><RowAlternateStyleDefault BackColor="LightGoldenrodYellow"></RowAlternateStyleDefault><ActivationObject BorderColor="" BorderWidth=""></ActivationObject></DisplayLayout></igtbl:UltraWebGrid></td></tr></table><asp:HiddenField ID="hfCurrentRowID" runat="server" /><asp:HiddenField ID="hfCurrentBandIndex" runat="server" /><asp:HiddenField ID="hfComments" runat="server" /><asp:HiddenField ID="hfGridRef" runat="server" /><asp:HiddenField ID="hfLastKey" runat="server" /><asp:HiddenField ID="hfCellToFocus" runat="server" /><asp:HiddenField ID="hfError" runat="server" /></td></tr></table></contentTemplate><Triggers><asp:PostBackTrigger ControlID="btnExportExcel" /><asp:PostBackTrigger ControlID="btnDeleteRow" /></Triggers></asp:UpdatePanel><igtblexp:UltraWebGridExcelExporter ID="UltraWebGridExcelExporter1" runat='server'></igtblexp:UltraWebGridExcelExporter><asp:HiddenField ID="hfCommentsRequired" runat="server" /><asp:HiddenField ID="hfDeleteKeyDeletesRow" runat="server" /><asp:HiddenField ID="hfGridBandKeyIndex" runat="server" /></asp:Content>asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" runat ="server"><asp:UpdatePanel ID="UpdatePanel1" runat="server">
How do I determine what service release is installed? I also can't find any service releases for Infragistics 2008 on the Infragistics website. Can you give me a link where to find the latest release for 2008? Thanks.
I figured out something...
If I DON'T have the "UseFixedHeaders = "True" property set, I can get the rows to be able to be resized by the user. But with that set, the row resizing doesn't work. Is that a known bug? I have to have both in order for this web app to be released, which was suppose to be released last week, but can't with this pending issue. Thanks.