With C1GridView if a column is fixed, the rows are not aligned

Posted by: imoroni on 2 March 2021, 8:47 pm EST

    • Post Options:
    • Link

    Posted 2 March 2021, 8:47 pm EST - Updated 30 September 2022, 12:38 am EST

    Hi, I have a problem with the ComponentOne C1GridView table.

    The problem is that when I use the Fixed columns property, the right rows and the left rows are misaligned.

    The code I use is this:

    
    <%@ Register Assembly="C1.Web.UI.Controls.3" Namespace="C1.Web.UI.Controls.C1GridView" TagPrefix="cc1" %>
    ...
    <cc1:C1GridView ID="griglia_voti" runat="server" AllowColMoving="False"
                                    AllowColSizing="False" CssClass="griglia"
                                    AutoGenerateColumns="False" AllowSorting="False"
                                    ShowFilter="False" AlternatingRowStyle-BackColor="#CCCCCC"
                                    VisualStyle="Office2007Black"
                                    VisualStylePath="~/C1WebControls/VisualStyles" CallbackOptions="None" Width="100%" SelectionMode="SingleCell"
                                    AllowKeyboardNavigation="True" DataKeyNames="numero" DefaultColumnWidth="120px" DefaultRowHeight="30px"
                                    AlternatingRowStyle-VerticalAlign="Middle" TabIndex="1" TabNavigation="GridNavigation"
                                    AutoGenerateSelectButton="False" EditRowStyle-BorderStyle="NotSet">
                                    <RowHeader Fixed="true" Visible="true">
                                    </RowHeader>
                                    <Columns>
                                    </Columns>
                                    <ScrollSettings ScrollMode="ScrollBar" ScrollOrientation="Horizontal" />
                                </cc1:C1GridView>
    
    

    then I fill the table via the code.

    As you can see from the images as I go down the alignment gets worse.

    Even if you go down a few hundred rows, the table becomes unreadable.

    The images come from two different projects and occurs on any browser.

    In the first project the code is written in the VB language and I use Microsoft Visual Studio Professional 2017 and in the second project the code is written in the VB language and I use Microsoft Visual Studio 2008.

    So I ruled out that it had anything to do with this. I don’t know what could be causing this error. What can I do?

    Thanks in advance.

  • Posted 4 March 2021, 2:08 am EST

    Hi,

    We are investigating on this case and we update you soon.

    Regards,

    Manish Gupta

  • Posted 4 March 2021, 8:12 pm EST

    Hi Italo,

    You are using quite older product for which development and Support has been ended.

    However, we tried to replicate the issue at our end with the build version C1.Web.Ui.Controls.2011v1.204 but we are unable to replicate the issue.

    Please refer to attached sample for reference. Please also try to upgrade to the latest version according to your license. You may get the builds from the here:

    http://prerelease.componentone.com/dotnet20/c1webui/

    Hope it helps!

    Regards,

    Manish Gupta

    C1.Web.Ui.GridView-FreezeColumn_20111.204.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels