Majeed Majeed - 6 months ago 29
Javascript Question

How jQuery datatable attribute columnDefs work's?

I have confusion on

jQuery Datatables
, I saw few code where
datatables use columndefs
, I don't understand
attributes [targets] and [orderable]
actually what they do.

Here is a sample code.

"targets":[0, 3, 4],

Answer Source

In this particular case, ordering is disabled for columns with indexes 0,3 and 4

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download