This example demonstrates how to implement cascaded lookups. The main idea is to get the changed value of the first lookup and select data based on this value for the second lookup. It is necessary to perform the following steps:
1. Handle the dxLokup.valueChangeAction event of the first lookup;
2. In this event handler pass the selected value of the first lookup to the DataSource.filter method of a data source that is related to the second lookup.
See also:
OData Associations
ODataContext
dxLookup
ODataContext - How to filter data by a foreign key value
Question Comments
Added By: Jeffrey Hodgson at: 10/5/2015 12:14:31 PM
The links I'm referring to are the following and the result of clicking on them is as below -
dxLokup.valueChangeAction - Document not found
DataSource.filter - Document not found
OData Associations - Document not found
ODataContext - Document not found
dxLookup - Document not found
ODataContext - How to filter data by a foreign key value - does link to something except DevExpress
This is DevExtreme I'm using NOT DevExpress.
Added By: Nikolai (DevExpress Support) at: 10/6/2015 12:33:46 AM Hi Jeffrey,Thank you for bringing this to our attention. I've fixed URLs of these links. Please test them and let me know your results.