Unique Id for Custom Grid Editor Instances when rendered on the front end
I've developed a custom Grid Editor for a customer, there could be multiple instances of this Grid editor in a grid - the results of which will be rendered on the front end. To instantiate the items on the front end they each need to be uniquely identifiable but there doesn't seem to be anything in the JSON that might be used for this, there are GUIDs but they're not really suitable for HTML id usage. It's not like I can even increment a counter per instance (I don't think?).
I wondered how others might be doing it or can point out if I am over thinking this?
Unique Id for Custom Grid Editor Instances when rendered on the front end
I've developed a custom Grid Editor for a customer, there could be multiple instances of this Grid editor in a grid - the results of which will be rendered on the front end. To instantiate the items on the front end they each need to be uniquely identifiable but there doesn't seem to be anything in the JSON that might be used for this, there are GUIDs but they're not really suitable for HTML id usage. It's not like I can even increment a counter per instance (I don't think?).
I wondered how others might be doing it or can point out if I am over thinking this?
Thanks, Simon
is working on a reply...