This is a migrated thread and some comments may be shown as answers.

One record is not display in the rows

3 Answers 66 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lijia
Top achievements
Rank 1
Lijia asked on 07 Dec 2014, 07:43 AM
There are three data in the itemsource, can see in the filter panel ,but only two displayed in the gridview row.
See Attached picture

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 08 Dec 2014, 10:26 AM
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.

 
0
Lijia
Top achievements
Rank 1
answered on 09 Dec 2014, 01:29 AM
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>
0
Dimitrina
Telerik team
answered on 09 Dec 2014, 11:27 AM
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.

 
Tags
GridView
Asked by
Lijia
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Lijia
Top achievements
Rank 1
Share this question
or