From f3e99a6c02335066fafabb038edd8ce116038338 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Fri, 10 Jan 2014 08:20:15 +0000 Subject: [PATCH] Update fnFindCellRowNodes.js and fnFindCellRowIndexes.js to work with objects - Based on the discussion here: http://datatables.net/forums/discussion/19044 - Use fnGetData to get the data for a cell, regardless of data source --- api/fnFindCellRowIndexes.js | 13 ++++++++----- api/fnFindCellRowNodes.js | 13 ++++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/api/fnFindCellRowIndexes.js b/api/fnFindCellRowIndexes.js index fdebd54..6ce3161 100644 --- a/api/fnFindCellRowIndexes.js +++ b/api/fnFindCellRowIndexes.js @@ -25,8 +25,9 @@ jQuery.fn.dataTableExt.oApi.fnFindCellRowIndexes = function ( oSettings, sSearch, iColumn ) { var - i,iLen, j, jLen, - aOut = [], aData; + i,iLen, j, jLen, val, + aOut = [], aData, + columns = oSettings.aoColumns; for ( i=0, iLen=oSettings.aoData.length ; i