I want the simplest possible solution for editing a value in a slickgrid using a standard html select list.
There are lots of answers here on stackoverflow all of which tell you to implement your own SelectCellEditor
. Here are some examples:
- Slickgrid, column with a drop down select list?
- SlickGrid select editor
- slickgrid custom dropdown editor
But these examples are all in javascript and are therefore a little verbose.
So I am going to answer my own question with a stripped-down CoffeeScript version. It works fine for simple select lists and is easy to extend when you want to get fancy.