'Provide the formset corresponding to this DataTable.
Use this to validate the formset and to get the submitted data back.'

def get_formset(self):

    if (self._formset is None):
        self._formset = self.formset_class((self.request.POST or None), initial=self._get_formset_data(), prefix=self._meta.name)
    return self._formset
