-
Notifications
You must be signed in to change notification settings - Fork 38
documentation(EJ2-25130): add doc for binding data on foreign key col… #459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: hotfix/hotfix-v20.1.0.47
Are you sure you want to change the base?
Conversation
Build Status: INPROGRESS 🔃 |
{% endif %} | ||
|
||
|
||
## Bind data on Foreign Key Columns with Url Adaptor |
There was a problem hiding this comment.
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). |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
Build Status: INPROGRESS 🔃 |
Build Status: INPROGRESS 🔃 |
Change the sample code as we discussed |
…umns.