laravel-datatables-html
laravel-datatables-html copied to clipboard
Laravel DataTables HTML Builder Plugin
This update allows the Column exportFormat() method to accept a callable parameter to support the latest functionality in laravel-datatables-export v1.
### Summary of problem or feature request Needed sorted columns ### Code snippet of problem ``` private function compileTableHeaders() { $th = []; foreach ($this->collection->toArray() as $row) { $thAttr =...
### Summary of problem or feature request When I upload an image using the editor, the image is uploaded successfully but it is not displayed correctly in the modal. More...
Hi, it's very important to implement Column::responsive function. I'm using Column::make(null,'')->content('')->addClass('control')->title('')->orderable(false)->searchable(false)->printable(false)->exportable(false)->width('5%'), But it's important to save time and code weigth. Thank you!
Hi @yajra , i make a simple DT with editor with simple Select extending Datatables Service; Select::make('id_carrier')->label(Lang::get('validation.attributes.id_carrier'))->fieldInfo('')->multiEditable(false) ->tableOptions('carrier','name','id_carrier', function(\Illuminate\Database\Query\Builder $query) { $query->where('deleted', 0)->where('active', 1); }, 'prestashop'), Very nice. Now, i...
This will insert lengthMenu parameter according to max_record_per_page in config file. This will not affect manual lengthMenu insertion in "builder parameters". PSR2 CS Fix. Part 2 / Part 1 (laravel-datatables...
### Summary of problem or feature request ### Code snippet of problem ```php // src/Html/Columns/Index.php public function addIndex(array $attributes = [], $position = false) { $indexColumn = $this->config->get('datatables.index_column', 'DT_RowIndex'); $attributes...
When database columns contain values that include a relation with snake case, e.g. "child_table.column", and the Eloquent model has the relation named using the Laravel default of camel case (e.g....
add ability to use thead class #2706 @joao-uefrom posted the solution [view here](https://github.com/yajra/laravel-datatables/issues/2706) My first pull request to this project be kind. also I was not sure where to update...
This is pr aims to add 2 new APIs to layout builder to add view components and livewire components. 1. addView() accepts component instance, view instance, and view string. 2....