Parameter retrieval in Zend Framework
Parameter retrieval in Zend Framework

Hello all,
Using Zend and DataTables, I'm trying to make a table that only loads the elements that are currently shown, as opposed to the complete table. However, when trying to request the offset and length of the table like this: [code]
$offset = $this->getRequest()->getParam('iDisplayStart');
$length = $this->getRequest()->getParam('iDisplayLength');[/code]
null is returned for both values. Am I requesting these correctly?
Using Zend and DataTables, I'm trying to make a table that only loads the elements that are currently shown, as opposed to the complete table. However, when trying to request the offset and length of the table like this: [code]
$offset = $this->getRequest()->getParam('iDisplayStart');
$length = $this->getRequest()->getParam('iDisplayLength');[/code]
null is returned for both values. Am I requesting these correctly?
This discussion has been closed.