Skip to content

Conversation

@mikkark
Copy link

@mikkark mikkark commented Aug 25, 2016

Adds extra hooks for executing code at different stages of processing the pasted data:

  1. ngPasteFromAfterParseRow execute code per row after it has been parsed. Usefull for augmenting/modifying the pasted row in some way.
  2. ngPasteFromBeforeApply execute code after all data has been parsed but before applying the changes using $scope.$apply(). We use this to insert a placeholder row into the data if no valid data rows were pasted.

Adds a ngPasteFromEnforceColumnCount property which can be used to bypass column count check. Usefull for situations where you don't require the user paste all the columns that are visible but only the first n columns, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant