public function display($modal = "no", $ids = "") {
		if (URequest::isAjax ()) {
			$instance = $this->getModelInstance ( $ids );
			$key = OrmUtils::getFirstKeyValue ( $instance );
			$this->jquery->execOn ( "click", "._close", '$("#table-details").html("");$("#dataTable").show();' );
			$this->jquery->getOnClick ( "._edit", $this->_getBaseRoute () . "/edit/" . $modal . "/" . $key, "#frm-add-update" );
			$this->jquery->getOnClick ( "._delete", $this->_getBaseRoute () . "/delete/" . $key, "#table-messages" );

			$this->_getModelViewer ()->getModelDataElement ( $instance, $this->model, $modal );
			$this->jquery->renderView ( $this->_getFiles ()->getViewDisplay (), [ "classname" => $this->model,"instance" => $instance,"pk" => $key ] );
		} else {
			$this->jquery->execAtLast ( "$('._display[data-ajax={$ids}]').trigger('click');" );
			$this->index ();
		}
	}