DataGrid with list of NavigationDrawers

Hi,


I like the idea of the navigation drawer, as you could have a summary, and when you open it up you can see the detail.  Would it be possible to put a NavigationDrawer inside an sfDatagrid cell though ?


Is it possible to put a UserControl inside a sfDatagrid cell ?


Thank you


Alex


6 Replies 1 reply marked as answer

SB Sweatha Bharathi Syncfusion Team February 5, 2024 01:48 PM UTC

Hi Alex Caudron,


We have analyzed your query, In the SfDataGrid, you can use the various built-in column types. To insert a NavigationDrawer control into a DataGrid cell, we recommend using the custom column feature. You can achieve this by creating a new column, derived from GridColumn, and creating a custom cell renderer by overriding the predefined renderer in SfDataGrid.


For a related example, we have documented the process of inserting a Sparkline into a DataGrid cell. We have provided UF for your reference , Kindly refer to the below UG,


UG Link : https://help.syncfusion.com/windowsforms/datagrid/columntypes#creating-custom-column


Marked as answer

EH Ella Helga March 12, 2025 04:33 AM UTC

Yes, you can implement a navigation drawer concept within an sfDataGrid cell by utilizing a  Escape Road  UserControl. This allows you to display a summary in the cell and expand it to show detailed information. To achieve this, you can define a DataTemplate for the cell that includes your UserControl, enabling dynamic content within the grid. Just ensure that the UserControl is designed to handle the interactions and data binding appropriately for a seamless user experience.



RM Rabina Murugan Syncfusion Team March 12, 2025 05:18 AM UTC

Hi  Ella Helga,

Yes, you can achieve this using your approach as well. Please feel free to reach out if you need any further assistance. we will be happy to help you.
Regards,
Rabina 


NA Na An March 17, 2025 01:54 AM UTC


Hi Alex Caudron, you can use the custom column feature in SfDataGrid to insert a NavigationDrawer control into a cell, by creating a new column that inherits from GridColumn and overrides the default cell constructor.



RM Rabina Murugan Syncfusion Team March 17, 2025 04:56 AM UTC

Hi  Na An,

Yes, you can achieve this using your approach as well. Please feel free to reach out if you need any further assistance. we will be happy to help you.
Regards,
Rabina 


AJ abel james March 26, 2025 06:47 AM UTC

Yes, you can place a NavigationDrawer or a UserControl inside a Syncfusion SfDataGrid cell by using a GridTemplateColumn with a custom CellTemplate.


Loader.
Up arrow icon