I want to export a template Excel sheet, so that user can fill it and can upload with their data.
In exported sheet, I want to put some validation or rule on column values. So that, user only can fill the value as per rules applied which can be only numbers or 4-5 unique value (for example colors - Blue, Green, Black only).
So far I have gone through documentation of Roo and Spreadsheet gem, to find any way to define rules on columns, but didn't find anything. For now just validating sheet when uploaded by user and showing error if invalid value is inserted.
Looking for solution something like this - How to create dependent drop downs in excel sheet generated using POI?
Any help is welcomed.