src/ItePHP/Component/Grid/GridBuilder.php
public function render(){
		$sort=0;
		$query=$this->request->getQuery();
		if(isset($query['sort']) && isset($this->columns[$query['sort']])){
			$sort=$query['sort'];
		}

		return $this->formatter->render($this->columns
			,$this->getRecords()
			,$this->dataManager->getTotalCount(),$this->limit,$this->page,$sort);
	}
public function render(){
		$sort=0;
		$query=$this->request->getQuery();
		if(isset($query['sort']) && isset($this->columns[$query['sort']])){
			$sort=$query['sort'];
		}

		return $this->formatter->render($this->columns
			,$this->getRecords()
			,$this->dataManager->getTotalCount(),$this->limit,$this->page,$sort);
	}
Generate html grid string

@return string with html form