You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: