Trying to define the table.select.style after initialization unsuccessfully

Trying to define the table.select.style after initialization unsuccessfully

adi_badi_b Posts: 1Questions: 1Answers: 0

Hi,
I added a code in order to define the style and way of selecting items in a table,using the following code:

var table = $('#myTable').DataTable();
table.select.style( 'os' );
table.select.items( 'cell' );

However, I get an error: " Cannot read properties of undefined (reading 'style')".

I can't understand why the select property is undefined.

Do you have any idea?

Thanks,

Answers

Sign In or Register to comment.