as.datatable.formattable function

Convert formattable to a datatable htmlwidget