Hello,
When I try to allow scroll, the header of grid displayed properly. But the grid1_GridData part hide itself on the left edge of grid with only 1 or 2px wide.
My code here:
Any idea of this issue?
Regards,
Elton
When I try to allow scroll, the header of grid displayed properly. But the grid1_GridData part hide itself on the left edge of grid with only 1 or 2px wide.
My code here:
| <asp:Panel ID="pnlDoc" runat="server" GroupingText="attachments" CssClass="pnlGroup" style="width:auto; table-layout:fixed"> |
| <div class="pnlWidthSet"></div> |
| <ucGt:g_GridTools ID="ucGridTool" runat="server" /> |
| <div class="pnlGroupInsidePanelGrid" id="divGridProduct" runat="server" style="width:auto;table-layout:fixed;"> |
| <telerik:RadGrid ID="grdDocs" runat="server" AutoGenerateColumns="False" ShowHeader="true" GridLines="None" BackColor="#ebecee" Skin="ObjectNext" ShowGroupPanel="false" EnableEmbeddedSkins="false" |
| onneeddatasource="grdDocs_NeedDataSource" onprerender="grdDocs_PreRender" onitemdatabound="grdDocs_ItemDataBound" ShowStatusBar="false" |
| ImagesPath="~/_common/style/objectnext/grid" AllowPaging="false" AllowSorting="true"> |
| <ExportSettings> |
| <Pdf FontType="Subset" PaperSize="Letter" /> |
| <Excel Format="Html" /> |
| </ExportSettings> |
| <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" AllowGroupExpandCollapse="true" EnablePostBackOnRowClick="false"> |
| <Selecting AllowRowSelect="false" /> |
| <Resizing AllowColumnResize="true" EnableRealTimeResize="true" /> |
| <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="350px" /> |
| <ClientEvents OnGridCreated="GridCreated" /> |
| </ClientSettings> |
| <MasterTableView CommandItemDisplay="None" GroupLoadMode="Client" CurrentResetPageIndexAction="SetPageIndexToFirst" Dir="LTR" Frame="Border" TableLayout="Fixed" |
| ItemStyle-CssClass="GridLowestLevelAltRow_ObjectNext" AlternatingItemStyle-CssClass="GridLowestLevelRow_ObjectNext" style="height:auto"> |
| <RowIndicatorColumn CurrentFilterFunction="NoFilter" |
| FilterListOptions="VaryByDataType" Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn CurrentFilterFunction="NoFilter" |
| FilterListOptions="VaryByDataType" Resizable="False" Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <EditFormSettings> |
| <EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"> |
| </EditColumn> |
| </EditFormSettings> |
| <Columns> |
| <telerik:GridTemplateColumn UniqueName="clmUploaded" HeaderText="date uploaded" SortExpression="uploaded"> |
| <ItemTemplate> |
| <asp:LinkButton ID="lkBtnDownload" runat="server" OnClientClick="downloadlink_click()" OnClick="DownloadLink_Click"><%#Eval("uploaded") %></asp:LinkButton> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn UniqueName="clmUserName" HeaderText="attached by" DataField="email"></telerik:GridBoundColumn> |
| <telerik:GridBoundColumn UniqueName="clmComment" HeaderText="comment" DataField="comments"></telerik:GridBoundColumn> |
| <%--invisible columns--%> |
| <telerik:GridBoundColumn UniqueName="clmName" HeaderText="name" DataField="name" Display="false"></telerik:GridBoundColumn> |
| <telerik:GridBoundColumn UniqueName="clmLocalFile" HeaderText="local file name" DataField="local_file" Display="false"></telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
| </div> |
| </asp:Panel> |
Any idea of this issue?
Regards,
Elton