I have a WebDataGrid that fills with 92 rows of data. When the grid renders though it only shows 91 rows after scrolling to the bottom. I scroll to the bottom and can see just a little bit of the last row. I click in the 91nd row and tab through the columns and then the 92 row pops into view. How do I get the last row to show on render without having to go through the tabbing process?
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
Hello Bob,
I have used your code but I am still not able to reproduce the issue. In order to help you resolving the issue please modify the attached sample or modify it so it issue reproduces.
Thank you for contacting Infragistics Support!We are currently looking into this matter and will keep you posted of any available information.Please do not hesitate to contact us with any updates or additional questions regarding this scenario in the meantime.
Hello Denis
Please use assembly="Infragistics4.Web.v13.1", Bind the datasource to an SQLDataSource. I've provided a mock up of the HTML I am using. In the Default.aspx.cs I'm just putting SqlDataSource.DataBind(); in the Page_Load();
<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent"> <asp:UpdatePanel ID="up1" runat="server" > <ContentTemplate> <ig:WebDataGrid ID="WebDataGrid1" runat="server" Height="700" Width="60%" DataKeyFields="Id" DataSourceID="SqlDataSource1" EnableAjax="false" AutoGenerateColumns="false" HeaderCaptionCssClass="HeaderCaptionClass" ItemCssClass="borderClass" AltItemCssClass="AlternateItemClass"> <Behaviors> <ig:Activation/> <ig:EditingCore BatchUpdating="true"> <Behaviors> <ig:CellEditing EditModeActions-MouseClick="Single" EditCellCssClass="CellSelectorClass"> <ColumnSettings> <ig:EditingColumnSetting ColumnKey="Id" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="Name" ReadOnly="true" /> </ColumnSettings> </ig:CellEditing> </Behaviors> </ig:EditingCore> <ig:Selection CellClickAction="Row" RowSelectType="Multiple" ColumnSelectType="Multiple"/> <ig:RowSelectors RowNumbering="true" HeaderRowSelectorCssClass="HeaderRowSelectorClass" RowSelectorCssClass="RowSelectorClass" /> </Behaviors> <Columns> <ig:BoundDataField DataFieldName="Id" Key="Id" Width="225" Header-Text="Id" DataType="string"/> <ig:BoundDataField DataFieldName="Name" Key="Name" Header-Text="Name" CssClass="Right"/> <ig:BoundDataField DataFieldName="RouteNo" Key="RouteNo" Header-Text="Routing Number" CssClass="Right"/> <ig:BoundDataField DataFieldName="CompanyAccountNo" Key="CompanyAccountNo" Header-Text="Account Number" CssClass="Right"/> </Columns> </ig:WebDataGrid> </ContentTemplate> </asp:UpdatePanel> <asp:SqlDataSource ID="SqlDataSource1" runat="server" SelectCommand="SELECT Id, CompanyAccountNo, RouteNo, Name FROM Producer WHERE active = '1' AND Len(CompanyAccountNo) > '0' OR Len(RouteNo) > '0' ORDER BY Id"> </asp:SqlDataSource> <style type="text/css"> .HeaderCaptionClass { text-align:center; background-color:#c1cce2; border:1px solid black; } tbody.borderClass > tr > td { border:1px solid Black; } tbody > tr.AlternateItemClass { background-color:#F5F5F5; } .CellSelectorClass { text-align:right; } .HeaderRowSelectorClass { width:25px; } .RowSelectorClass { width:35px; background-color:#c1cce2; border:1px solid black; } tbody > tr > td.Right { text-align:right; } </style> </asp:Content>
-Thanks Bob
Thank you for the provided screenshot, but I cannot do any assumption for them. Please review my previous reply.