Format datatable.