Extern API method for datatable