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

Radgridview cannot edit column when binding from pivot tabel datasource

1 Answer 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
andi
Top achievements
Rank 1
andi asked on 04 Jan 2019, 03:23 AM

I have radgridview with 3 level hierarchy, the third hierarchy binding from query using pivot table, data are appear in grid well but cannot edit column generate from query with pivot table, so how to make it editable?

Thanks in advanced

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 04 Jan 2019, 09:32 AM
Hello Andi,

A possible cause of the issue might be that you are binding the grid to anonymous types. I am not sure what is your query and what data it returns for the third level but if you are using LINQ and returning objects with select new the grid will bind to these objects but you will not be able to edit them. This behavior can also be observed with the standard .NET grid control. The following articles provide more information on that matter: 
In case you keep experiencing the issue, please open up a support ticket and send us your project.

Regards,
Hristo
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
andi
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or