I'm creating programmatically a table container with numberspinners in dojo. Is there a way to add a unit (seconds, meters, etc.) to the spinner? Or if that's not possible, how can I add a second row with just labels in it? So I can define the units there.
Consider creating a custom widget, which will container your "label" value, here an example.
Note:
You can change the HTML template
templateString
from label to div if your prefer. Below I am usingContentPage()
but you can a layout component as you which.