Foreignkey column

I don't find any sample to show a foreignkey value inside a datagrid 

If I have in a table Orders with a customerid property and I want to show its name from Customers table, how can do that in a datagrid ?

Thanks


2 Replies

RM Rabina Murugan Syncfusion Team June 9, 2025 04:49 PM UTC

Hi Walter Martin,

 

We have investigated the reported scenario. We are currently analyzing to achieve your requirement. We will provide further updates on June 10, 2025.

 

Regards,

Rabina



RM Rabina Murugan Syncfusion Team June 10, 2025 10:40 AM UTC

Hi Walter Martin,

 

We have investigated your requirement regarding displaying a foreign key column in the SfDataGrid, such as showing the customer name from the Customers table with the CustomerID in the Orders table.

 

We have implemented this scenario and Find a sample demo in the attachment. 

 

Please let us know if you have any concerns about this.

 

Regards,

Rabina

 

If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.


Attachment: SfDataGrid_2ForeignKeyColumn_a1aa0a01.zip

Loader.
Up arrow icon