bug with EnableRowVirtualization ?

3 posts, 0 answers
  1. Edward
    Edward avatar
    45 posts
    Member since:
    Aug 2005

    Posted 31 Jul 2013 Link to this post


    Hi guys,

    I've got a weird problem:

    When EnableRowVirtualization = true 

    I have a grid with lots of rows like > 100 and I click on the first 10 rows or so the click event of the templated checkbox is handled perfectly. When I scroll down and click again on the checkbox, the click event is not fired.


    When EnableRowVirtualization = false

    Everything just works.

    I hope you can help! (using build: 2013.2.611.1050)


    Greetings Edward


    <
    telerik:GridViewDataColumn UniqueName="checkColumn" IsReadOnly="True">
                                <telerik:GridViewDataColumn.Header>
                                    <CheckBox x:Name="chkSelectAll" Margin="0" Padding="0" VerticalAlignment="Center" IsChecked="True" HorizontalAlignment="Center" Click="ToggleCheckBoxItemsClick"/>
                                </telerik:GridViewDataColumn.Header>
                                <telerik:GridViewDataColumn.CellTemplate>
                                    <DataTemplate>
                                        <CheckBox Content="" IsChecked="{Binding Mode=TwoWay, Path=Checked}" Click="ChkDetailItemClick"  VerticalAlignment="Center" HorizontalAlignment="Center" />
                                    </DataTemplate>
                                </telerik:GridViewDataColumn.CellTemplate>
                            </telerik:GridViewDataColumn>





  2. Vera
    Admin
    Vera avatar
    263 posts

    Posted 02 Aug 2013 Link to this post

    Hi Edward,

    I tried to reproduce the issue using the provided details but I was not able to. Attached you can find the project used for the test. Are you able to get the problem on it?

    Regards,
    Vera
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Edward
    Edward avatar
    45 posts
    Member since:
    Aug 2005

    Posted 05 Aug 2013 Link to this post

    Hi Vera

    Yes, I see that your example just works.

    After extra investigation it appears it is not a click issue but a 'going in edit mode' thing.

    Anyway after the change (EditTriggers="CellClick") below our software also works.

    Thanks!

    <telerik:GridViewDataColumn  UniqueName="checkColumn" IsReadOnly="True" EditTriggers="CellClick">
        <telerik:GridViewDataColumn.Header>
            <CheckBox x:Name="chkSelectAll" Margin="0" Padding="0" VerticalAlignment="Center" IsChecked="True" HorizontalAlignment="Center" Click="ToggleCheckBoxItemsClick"/>
        </telerik:GridViewDataColumn.Header>
     
        <telerik:GridViewDataColumn.CellTemplate>
            <DataTemplate>
                <CheckBox Content="" IsChecked="{Binding Mode=TwoWay, Path=Checked}" Click="ChkDetailItemClick"  VerticalAlignment="Center" HorizontalAlignment="Center" />
            </DataTemplate>
        </telerik:GridViewDataColumn.CellTemplate>
    </telerik:GridViewDataColumn>

Back to Top