Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Apr 26, 2022

…umns.

@SyncfusionBuild
Copy link
Collaborator

Build Status: INPROGRESS 🔃
Build Location: EJ2-25130-Edit

@SyncfusionBuild
Copy link
Collaborator

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: EJ2-25130-Edit
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

{% endif %}


## Bind data on Foreign Key Columns with Url Adaptor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bind data on foreign key columns with UrlAdaptor


## Bind data on Foreign Key Columns with Url Adaptor

You can bind the data on foreign key columns with using `UrlAdaptor`. In the following example, **EmployeeID** was designated as a [`ForeignKeyField`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Grids.GridColumn.html#Syncfusion_EJ2_Grids_GridColumn_ForeignKeyField), and **ShipName** was designated as a [`ForeignKeyValue`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Grids.GridColumn.html#Syncfusion_EJ2_Grids_GridColumn_ForeignKeyValue).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can bind the data on foreign key columns using the UrlAdaptor. In the following example, EmployeeID is designated as a ForeignKeyField, and ShipName is designated as a ForeignKeyValue.


You can bind the data on foreign key columns with using `UrlAdaptor`. In the following example, **EmployeeID** was designated as a [`ForeignKeyField`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Grids.GridColumn.html#Syncfusion_EJ2_Grids_GridColumn_ForeignKeyField), and **ShipName** was designated as a [`ForeignKeyValue`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Grids.GridColumn.html#Syncfusion_EJ2_Grids_GridColumn_ForeignKeyValue).

To communicate with a specific DataSource, DataManager uses the adaptor idea. UrlAdaptor is used to interact with remote data services and used to bind data on foreign key columns.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UrlAdaptor is used to interact with remote data services and to bind data on foreign key columns.

@SyncfusionBuild
Copy link
Collaborator

Build Status: INPROGRESS 🔃
Build Location: EJ2-25130-Edit

@SyncfusionBuild
Copy link
Collaborator

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: EJ2-25130-Edit
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

@SyncfusionBuild
Copy link
Collaborator

Build Status: INPROGRESS 🔃
Build Location: EJ2-25130-Edit

@SyncfusionBuild
Copy link
Collaborator

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: EJ2-25130-Edit
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

@BalajiSGrid
Copy link
Collaborator

Change the sample code as we discussed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants