Closed doxt3r closed 4 months ago
Hi people, can't get my table to sort based on datetime column code i tried:
$dataTable->add('created_at', DateTimeColumn::class, [ "label" => "Created at", 'format' => 'Y-m-d H:i:s', 'orderable' => true]);
thank you
sorry, it works for me now, the root cause was my own adpater with different method for sorting...
Hi people, can't get my table to sort based on datetime column code i tried:
$dataTable->add('created_at', DateTimeColumn::class, [ "label" => "Created at", 'format' => 'Y-m-d H:i:s', 'orderable' => true]);
thank you