I want to export data in xls file, i have done this and give this excel file to my client for further modifications.
But what i wants in advance is; this modifications should be restricted like:
Department
column's value must be selected from list(this list is dynamically generated from database.table_department ).
Product_ID
column's value must be selected from available distinct products_id from database.table_products
I wants validations something like here mention Restrict data to predefined items in a list
This validations are applied because this file taken as input for data Import in Admin panel and database have certains PK-FK relationships. In order to remove any discrepancy during data import due to PK-FK relationships this validation is applied for precautions.