There are three data in the itemsource, can see in the filter panel ,but only two displayed in the gridview row.
See Attached picture
See Attached picture
3 Answers, 1 is accepted
0
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
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>
<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
Hello,
Regards,
Dimitrina
Telerik
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.