Hi Nicu,
Thank you for contacting Syncfusion support,
Regarding Query1:
We have checked with your sample. You have set the Style for DetailsViewDataGrid. But you did not set the Style for SecondLevelGrid. So only the style does not apply for the second level grid. If you set the style for SecondLevelDataGrid , it will be applied without any issue.
Code snippet[XAML]:
<grid:GridViewDefinitionRelationalColumn="Level3Items"> <grid:GridViewDefinition.DataGrid> <grid:SfDataGridAutoGenerateColumns="True"Style="{StaticResourceDefaultStyle}"> </grid:SfDataGrid> </grid:GridViewDefinition.DataGrid> </grid:GridViewDefinition> |
Regarding Query2:
We are able to collapse the DetailsView using CollapseAllDetailsView method for all the level. We suspect that you have called CollapseAllDetailsView for the grid defined in the GridViewDefiniton by using that grid name. If so, CollapseAllDetailsView method will not work since this grid will not be in view. If you want to call CollapseAllDetailsView for DetailsViewDataGrid, you need to get the DetailsViewDataGrid from GetDetailsViewGrid and call CollapseAllDetailsView method. So could you please let us know how you are Collapsing the DetailsViewDataGrid in your side? Please refer the below code snippet to get the DetailsViewDataGrid.
Code snippet[C#]:
privatevoidButton_Click(objectsender,RoutedEventArgse) { vardetailsviewGrid =this.DataGrid.GetDetailsViewGrid(2,"Level2Items"); detailsviewGrid.CollapseAllDetailsView(); } |
Regarding Query3:
We are unable to reproduce the reported issue in our side. We have expanded the DetailsViewDataGrid upto third level and also collapsed the DetailsViewDataGrid. But we could not get any exception in our side. Could you please let us know the exact replication procedure and stack trace information with us? It would be helpful for further analysis. We have attached a video file and you can download it from following location.
Video:VideoFile.zip
Please let us know if you have any other queries.
Regards,
Muthalagu
Hi Nicu,
Thank you for
the update.
We have
analyzed your queries and please find the responses for your queries as follows:
Query |
Response |
The style indeed is
working, but not the columsizer. |
We are able to reproduce
the issue “Column size is changed when we scroll or expand the details view
grid” and we have logged a defect report on this. A support incident to track the status of this defect has
been created under your account. Please log on to our support website to
check for further updates, https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents |
CollapseAllDetailsView()
works only on first datagrid. |
As we said in our previous update, we are able to collapse the DetailsView using
CollapseAllDetailsView method for all the level in the version 13.1. But
you mentioned your update to use behavior in order to collapse all
details. So could you please share your code for how to call the
CollapseAllDetailsView method in your application and share the exact version
you have used? This would be more helpful for us to serve you in better way. Video Link: http://www.syncfusion.com/downloads/support/directtrac/138668/CollpaseGrid1012442270.zip
|
From third level
onwards, when trying to expand the details, the app crashes with Layout Cycle
error. |
We are unable to reproduce the issue when we expand the
grid in 13.1 version and we couldn’t find any video to replicate the reported
issue from your update. Could you please share the video for the reported
issue and also update the exact version you have used? Video Link: http://www.syncfusion.com/downloads/support/directtrac/138668/ExpandGrid1168305984.zip
|
Please let us know if you have any other queries.
Thank you,
Jai Ganesh S