Closed mschrading closed 5 years ago
I build a datatable complete with an arrayAdapter
with datas => [ 0 => ['registration'=>'string'], 1 => ['registration'=>'string'] ... ]
$this->dataTableFactory->create() ->add('registration', TextColumn::class, [ 'label' => 'Registration', 'data' => function($value){ return $value['registration']; }, 'field'=>'registration', 'searchable' => true, 'globalSearchable' => true, 'orderable' => true, ] )->createAdapter(ArrayAdapter::class, $datas);
Can I search with $table->isCallBack and $table->getResponse() and how? Please for a hint.
Thank you
I build a datatable complete with an arrayAdapter
with datas => [ 0 => ['registration'=>'string'], 1 => ['registration'=>'string'] ... ]
$this->dataTableFactory->create() ->add('registration', TextColumn::class, [ 'label' => 'Registration', 'data' => function($value){ return $value['registration']; }, 'field'=>'registration', 'searchable' => true, 'globalSearchable' => true, 'orderable' => true, ] )->createAdapter(ArrayAdapter::class, $datas);
Can I search with $table->isCallBack and $table->getResponse() and how? Please for a hint.
Thank you