'name' => "produto[]", 'class'=> "chosen-select produto", 'select_options' => getProducts()), array( 'type' => "text", 'name' => "qtd[]", 'class'=> "qtd", 'post_content' => 'CXS') ), 'actions' => array( 'details' => 'Detalhes', 'edit' => 'Editar', 'delete' => 'Excluir' ), 'extraFooterRow' => array( array( 'content' => '< button >Adicionar Linha< /button >', 'params' => 'colspan="7" align="center"' ) ) ) ); </pre> <?php $inputbuilder->createDataTable(array('extra_param' => 'border="1"', 'labels' => array('Produto', 'Quantidade', 'Valor<br>Unitário<br>(R$)', 'Valor<br>Total<br>(R$)', 'Detalhes', 'Editar', 'Excluir'), 'hasPrice' => true, 'extraHeaderRow' => array(array('content' => 'Teste', 'params' => 'colspan="7" align="center"')), 'inputs' => array(array('type' => "select", 'name' => "produto[]", 'class' => "chosen-select produto", 'select_options' => getProducts()), array('type' => "text", 'name' => "qtd[]", 'class' => "qtd", 'post_content' => 'CXS')), 'actions' => array('details' => 'Detalhes', 'edit' => 'Editar', 'delete' => 'Excluir'), 'extraFooterRow' => array(array('content' => '<button>Adicionar Linha</button>', 'params' => 'colspan="7" align="center"')))); /***** FIM ESBOÇO */ ?> </fieldset> </body> </html>