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

jqGrid Formatter Issue #490

Open
kswager-o3 opened this issue Apr 17, 2020 · 0 comments
Open

jqGrid Formatter Issue #490

kswager-o3 opened this issue Apr 17, 2020 · 0 comments

Comments

@kswager-o3
Copy link

I'm using the "formatter action" enhancements and having an issue when the idPrefix parameter is used in the grid definition.

I've created a JSFiddle that shows the issue using the same demo code referenced from that page. If you run that code and click any of the custom icons added to a row, the message box displays the id value associated with that row (example: rowid=50 for the first row).

However, if you remove the comments characters in front of the idPrefix (JavaScript line 53), run the code again, and click the same icon in the same row, the rowid now includes the idPrefix (example: rowid=Hello_World_50 for the first row).

If I understand what I'm doing, it appears to be returning the element id associated with that value rather than the value itself. Or am I misunderstanding the usage of this feature?

Thanks.

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