Control of row position

Control of row position

sronsieksronsiek Posts: 52Questions: 11Answers: 0
edited December 2011 in General
Hi,

I think this one should be simple - I just can't see how at the moment.

The first col of my table contains a string, default sorting is applied to this.
A create button triggers insertion of a new row in the table - done with fnAddRow(),
without a second arg, so the table is re-drawn and sorting re-applied.

The new row actually contains a select menu in the first col, and appears
in the tables top row after sorting (exactly as I want), and I highlight the new row.

However when I create a second new row, identical content, this is appears below
the first inserted row after sorting. I want it at the top.

How can I force the position of the inserted row?

cheers,
Stefan
This discussion has been closed.