Repository navigation
v1.1.0: Performance Boost & Server-Side Rendering
Release v1.1.0
✨ New Features
- ⚡ Server-side rendering - Handle large datasets efficiently
- 🚀 Performance improvements - Up to 40% faster with Livewire Computed Properties
- 📄 Dynamic pagination - Added
simplePaginatemethod option - 🔢 Enhanced number column -
nocolumn now sortable with proper numbering - 🔍 Query scope support - Apply custom model scopes for filtered datasets
🔧 Configuration
Pagination Options
// Global config
'default_pagination' => 'simplePaginate', // or 'paginate'
// Per component
'pagination' => 'simplePaginate'Number Column Usage
'columns' => [
'no' => '#', // Auto-numbered, sortable
'name' => 'Name',
'email' => 'Email'
]Query Scope Usage
// In your model
public function scopeActive($query) {
return $query->where('status', 'active');
}
// In component
'model' => User::class,
'scope' => 'active' // Apply the scope# Update existing
composer update developerawam/livewire-datatable
# clear cache
php artisan optimize:clear🔄 Breaking Changes
None - fully backward compatible