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

Allow editor template access rowIndex in datatable #2104

Closed
windwolfreal opened this issue Feb 17, 2017 · 3 comments
Closed

Allow editor template access rowIndex in datatable #2104

windwolfreal opened this issue Feb 17, 2017 · 3 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@windwolfreal
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
@kuba-010
Copy link

I think this is a bug, no? If I use the pTemplate="body" it works fine, but when set to "editor" it seems to have no value

upstreamosGH added a commit to upstreamosGH/primeng that referenced this issue Mar 22, 2017
@upstreamosGH
Copy link

upstreamosGH commented Mar 22, 2017

I forked from 2.0.5 adding the input property rowIndex to ColumnEditorTemplateLoader.
I've tested in my project and now the rowIndex is available also in column editor's template.
I made a pull-request and now I'm waiting for a response.

@VincenzoMi
Copy link

It would be nice expose row index in editor template. ;)

upstreamosGH added a commit to upstreamosGH/primeng that referenced this issue Mar 23, 2017
@cagataycivici cagataycivici self-assigned this Mar 27, 2017
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Mar 27, 2017
@cagataycivici cagataycivici added this to the 4.0.RC2 milestone Mar 27, 2017
@cagataycivici cagataycivici changed the title allow editor template access rowIndex in datatable Allow editor template access rowIndex in datatable Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

5 participants