The new Custom Buttons feature is great but it needs to provide a mechanism for providing values to certain native attributes or events and provide custom attributes as needed (ie: data-[attribute/property]). I propose a new property for the custom button that can take a JSON string that will provide the definitions for attributes:
{ id: 'myId', class: 'my-class-names', onMouseOver: 'myHoverFunctionName', dataIndex: '0', dataId: '12345678', dataCategory: 'MyValue' }
The new Custom Buttons feature is great but it needs to provide a mechanism for providing values to certain native attributes or events and provide custom attributes as needed (ie: data-[attribute/property]). I propose a new property for the custom button that can take a JSON string that will provide the definitions for attributes:
{ id: 'myId', class: 'my-class-names', onMouseOver: 'myHoverFunctionName', dataIndex: '0', dataId: '12345678', dataCategory: 'MyValue' }