(cell)
| 877 | |
| 878 | // change the row index of a cell |
| 879 | var tweakCellIndex = function(cell) { |
| 880 | var info = cell.index(); |
| 881 | // some cell may not be valid. e.g, #759 |
| 882 | // when using the RowGroup extension, datatables will |
| 883 | // generate the row label and the cells are not part of |
| 884 | // the data thus contain no row/col info |
| 885 | if (info === undefined) |
| 886 | return {row: null, col: null}; |
| 887 | if (server) { |
| 888 | info.row = DT_rows_current[info.row]; |
| 889 | } else { |
| 890 | info.row += 1; |
| 891 | } |
| 892 | return {row: info.row, col: info.column}; |
| 893 | } |
| 894 | |
| 895 | var cleanSelectedValues = function() { |
| 896 | changeInput('rows_selected', []); |
no outgoing calls
no test coverage detected