apply datatable