I'm looking for advice on how to make a plugin that would be very similar to the core plugin Data Table, except that it would show red or green dots instead of "true" or "false" for boolean values.
My first thought was to duplicate the code of the Data Table, and modify tiny bits of it to fit the need of the new plugin. I don't like this approach though; duplicating lots of code is rarely a good idea.
So my question is: Is there any way I could "extend" the Data Table plugin, and "override" only the row HTML generation behavior (without copying too much code)? I'm from an Object-Oriented Programming background, so I'm not sure what I'm asking makes sense in Angular.
Any advice or code snippets to help me achieve this would be appreciated.
I'm using Kibana 5.2.1. Thanks in advance!