Closed ShaunVanDyk closed 6 years ago
It turns out there were 2 separate issues. 1) By setting all properties as undefined, it prevented default columns and type definitions from being applied as the column itself has a "definition" of undefined and that has the highest precedence in ag-grid. Commit 497d79f fixes that. 2) I still found editable didn't apply properly. This was because the edit template set editable on the column to true if it was undefined. Maybe this is trying to be helpful so the user doesn't have to set the property if they provide an editable template, but it actually breaks the default behaviour of ag-grid. Providing editable in the default column no longer works, or providing it in a column type no longer works. Fixed in commit 4442c3b. NOTE: This is actually a breaking fix, as developers who haven't set editable explicitly will no longer have editable columns until they set the property themselves.
any update on when this pull-request can be reviewed/merged?
Hi - apologies for the delay.
This fix has already been applied and should be available now.
thanks for the PR
Don't map column properties which are undefined. This prevents default column settings from being applied within the grid (because the property is present), and stops attributes like type from working. This pr Closes #24