Don't trigger row select event on first column (fixes #791)

This commit is contained in:
Bernd Bestel
2020-08-24 18:42:32 +02:00
parent a569048a3a
commit 5c62377ba6
2 changed files with 5 additions and 1 deletions

View File

@@ -5,7 +5,10 @@
{ 'searchable': false, "targets": 0 },
{ 'orderData': 2, 'targets': 1 }
],
'select': 'single',
select: {
style: 'single',
selector: 'tr td:not(:first-child)'
},
'initComplete': function()
{
this.api().row({ order: 'current' }, 0).select();