Add a row after the selected row in jQuery dataTables

后端 未结 2 790
攒了一身酷
攒了一身酷 2021-01-21 13:36

DataTable is defined as

var oTable = $(\'#table1\').dataTable({
    \'aaData\': [
                 [\'John\', \'ABC\', \'$90000\'], [\'Doe\', \'XYZ\', \'$100000         


        
2条回答
  •  礼貌的吻别
    2021-01-21 14:05

    I don't believe it is possible without some custom sorting functions. Position is based entirely on the sort. The developer backs this up here: http://bit.ly/1gtYHyk and here http://bit.ly/PxHKgM

提交回复
热议问题