I'm using the grid setOptions/getOptions to save a particular view for a grid. Basically a user can filter the grid in a certain way, show and hide columns, etc.
In the grid I have several inline drop downs. This is an example of one of the field definitions:
{ field: "LocationId", title: "Location Name", width: 200, editor: gridHelper.locationDropDownEditor, template: "#=gridHelper.getLocationCode(LocationId)#" },
On initial load everything works absolutely fine. The problem comes in when the user selects a different view and I call setOptions to instantiate that view. For the most part everything works, however when clicking on a cell with a dropdown the dropdown does not get reinitialized as a dropdown. It's simply a text field with the right Location Name displayed, however when you click it you get the id#.
Is there a proper way to reinitialize those dropdowns using the model I've given above?
I've tried refreshing both the grid and the datasource along with destroying and recreating the grid from scratch but no options seem to lead to something that will work.
Thanks!