code: def get_formset(self):
          
          if self.widget:
              queryset = self.widget.dimensions
          else:
              queryset = WidgetDimension.objects.none()
          if self._formset is None:
              self._formset = self.formset_class(
                  self.request.POST or None,
                  initial=self._get_formset_data(),
                  prefix=self._meta.name,
                  queryset=queryset)
          return self._formset
docs: Provide the formset corresponding to this DataTable.
  
          Use this to validate the formset and to get the submitted data back.