SitePen / dgrid

A lightweight, mobile-ready, data-driven, modular grid widget designed for use with dstore
http://dgrid.io/
Other
628 stars 298 forks source link

Editor: pass the row object to the editorArgs function #1446

Closed msssk closed 4 years ago

msssk commented 4 years ago

The Editor mixin can be configured with the editorArgs property. If the property is a function, it will receive the column definition as the first parameter. This PR updates the Editor mixin to also pass the row object, if available, as the second parameter. The row object is unavailable for shared editors.