Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a MODEL_COL_FIELD variable to cellTemplate parsing #1633

Closed
swalters opened this issue Sep 29, 2014 · 0 comments
Closed

Add a MODEL_COL_FIELD variable to cellTemplate parsing #1633

swalters opened this issue Sep 29, 2014 · 0 comments

Comments

@swalters
Copy link
Contributor

Our parsing currently replaces COL_FIELD with grid.getCellValue(). Cell Templates that need to use ng-model='COL_FIELD' can't be used because you can't bind a getter function to ng-model.

Add a MODEL_COL_FIELD variable that will be replaced with row.entity.colField value. This will use the same parsing as getCellValue so that complex properties, field names with special chars, etc can be used.

swalters added a commit to swalters/ng-grid that referenced this issue Sep 29, 2014
…t can be used in ng-model angular-ui#1633

Breaking Change: All editable cell templates must be changed to use MODEL_COL_FIELD
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

No branches or pull requests

1 participant