One record is not display in the rows

4 posts, 0 answers
  1. Lijia
    Lijia avatar
    2 posts
    Member since:
    Sep 2014

    Posted 07 Dec 2014 Link to this post

    There are three data in the itemsource, can see in the filter panel ,but only two displayed in the gridview row.
    See Attached picture
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 08 Dec 2014 Link to this post

    Hello,

    This is indeed not the expected behavior. May I ask you share some more information on how have you populated your instance of RadGridView? Have you applied any filtering criteria in code?

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Lijia
    Lijia avatar
    2 posts
    Member since:
    Sep 2014

    Posted 08 Dec 2014 in reply to Dimitrina Link to this post

    this is my code, and when I change to microsoft datagrid ,it display all the three data. 


    <telerik:RadGridView
                        Name="radGridView1"
                        Margin="2,2,1,2"
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Stretch"
                        AutoGenerateColumns="True"
                        CanUserFreezeColumns="False"
                        CanUserResizeColumns="False"
                        IsReadOnly="True"
                        ItemsSource="{Binding SourceList}"
                        RowIndicatorVisibility="Collapsed"
                        ShowGroupPanel="False" />
                    <telerik:RadDataForm
                        Name="myDataForm"
                        Grid.Column="1"
                        Width="680"
                        Margin="1,2,2,2"
                        AutoGenerateFields="False"
                        CurrentItem="{Binding
                            ElementName=radGridView1,
                            Path=SelectedItem,
                            Mode=TwoWay}"
                        EditTemplate="{StaticResource editItemTemplate}"
                        ItemsSource="{Binding SourceList}"
                        NewItemTemplate="{StaticResource editItemTemplate}"
                        ReadOnlyTemplate="{StaticResource readonlyItemTemplate}">
                        <telerik:RadDataForm.CommandProvider>
                            <dataFormCommandProvider:RoleInfoDataFormCommandProvider DataForm="{Binding ElementName=myDataForm}" />
                        </telerik:RadDataForm.CommandProvider>
                    </telerik:RadDataForm>
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 09 Dec 2014 Link to this post

    Hello,

    Looking at the control’s configuration, it looks fine. It is indeed strange that a similar setup works differently when populating data in the DataGrid.
    May I ask you to try isolating the issue in a demo project illustrating your implementation and send it to us in a separate support ticket? You can also take a look at this blog post for a reference on how to isolate an issue. That way we can check it locally and advise further.

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top