orderData by class
orderData by class
itajackass
Posts: 165Questions: 49Answers: 3
Hi, is it possible to use "orderData" using classes?
Cause sometimes i need to add new columns to table so i need to re-check all index again in:
orderData: [0 , 7]
I'd like to use it like this: orderData: ['colDocDate', 'colDocNumber'] but it doesn't work.
Any suggest? thanks
Replies
Ok I fixed using:
orderData: [ $("#table thead tr th.colDocDate").index(), $("#table thead tr th.colDocNumber").index() ]