Improved datatable to view action