Can fnAddData(['element1', 'element2'], false) add to top of table?
Can fnAddData(['element1', 'element2'], false) add to top of table?
This will insert row according to default sort:
oTable.fnAddData([ "My Company" , "ABC", "01/28/2014"]);
This will insert row at end, ignoring default sort:
oTable.fnAddData([ "My Company" , "ABC", "01/28/2014"], false);
Anyone know a way to insert a row without sorting (as in second example) but have it add to the *top* instead of end? This would make it less cumbersome on long lists to find the newly added row.
oTable.fnAddData([ "My Company" , "ABC", "01/28/2014"]);
This will insert row at end, ignoring default sort:
oTable.fnAddData([ "My Company" , "ABC", "01/28/2014"], false);
Anyone know a way to insert a row without sorting (as in second example) but have it add to the *top* instead of end? This would make it less cumbersome on long lists to find the newly added row.
This discussion has been closed.
Replies
Perhaps one option is to add a highlight class to the newly added row for a short amount of time?
Allan