protected function initializeProperties($model, $class)
    {
        $this->class = $class;
        $this->modelObject = new $model();
        $this->primaryColumn = $this->modelObject->getKeyName();

        $requestData = collect(request()->all());
        $this->requestedColumns = collect($requestData->get('columns'));
    }