mydea / handsontable-chosen-editor

Use a chosen select field in a Handsontable.
http://mydea.github.io/handsontable-chosen-editor/
MIT License
63 stars 36 forks source link

Support Initial Values #6

Closed pflaumingo closed 7 years ago

pflaumingo commented 7 years ago

Does this editor support passing in initial values? Is there a configuration similar to below that would result in the cell being initially populated with the people.name property of the table's data property?

{ data: 'people.name', renderer: customDropdownRenderer, editor: 'chosen', width: 150, chosenOptions: { multiple: true, data: data.validations.people }

pflaumingo commented 7 years ago

Silly from me, I just needed to pass in the people.id as the parameter rather than people.name, which should be people.label anyways.