tonytomov/jqGrid — Issue #198: Checkbox html markup produces duplicate prefix when using idPrefix parameter
Author: mdownes
Created: 2011-11-23 14:51:32+00:00
State: open

When i set the idPrefix to the name of the grid it correctly prefixes the id of the TR like below.

(where 0 is the row id)
This allows me to use numbers for my unique key

However, the markup of the checkbox (on a multiselect grid) should check to see if the IdPrefix has been set before prefixing the id.
As you can see from the code below the prefix has been duplicated

This id is still unique but is longer than it needs to be.