Relative 'orderData' column ?

Relative 'orderData' column ?

bodicceabodiccea Posts: 1Questions: 1Answers: 0


I have a (PHP generated) table, with variable number of pair of columns (total number of columns can be 2, 4, 6, etc...).

Even columns should be sorted with previous one (e.g. column 4 is sorted with column 3).

Example: If I give a class 'evenClass' to even columns, would it be possible to use something like:

  'targets': 'evenClass';
  'orderData': current-column-minus-one ;

As I know the maximum number of pairs (let say 10), I tried to define all 'orderData' for even columns, one by one, like:

   'targets': [1],
   'targets': [19],

but I get an error, if columns specified in 'targets' do not exist.

Any Idea ?


  • colincolin Posts: 9,822Questions: 0Answers: 1,629

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.



Sign In or Register to comment.