Skip to content

Commit d653a82

Browse files
committed
Fix index column name.
yajra/laravel-datatables#1882
1 parent 99ff988 commit d653a82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

general-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The sql generated will be like `column LIKE "%k%e%y%w%o%r%d%"` when set to `true
3737
DataTables internal index id response column name.
3838

3939
```php
40-
'index_column' => 'DT_Row_Index',
40+
'index_column' => 'DT_RowIndex',
4141
```
4242

4343
<a name="engines"></a>

index-column.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Route::get('user-data', function() {
1616
```
1717

1818
Using `addIndexColumn` will add another column on your response with a column name that is set on [`index_column`](/docs/{{package}}/{{version}}/general-settings#index-column) configuration.
19-
The default index column name is `DT_Row_Index`
19+
The default index column name is `DT_RowIndex`

0 commit comments

Comments
 (0)