Page worked with scrolller 1.0, not with 1.0.1
Page worked with scrolller 1.0, not with 1.0.1
beginner_
Posts: 55Questions: 2Answers: 0
I get no error message in firebug but script terminates here:
[code]componentsTable.oScroller.fnScrollToRow( rowIndex ); [/code]
rowIndex is properly set (debug with firebug).
I'm taking a GET Parameter and use that scroll to the desired row:
[code]
"fnInitComplete": function() {
if (urlParams.hasOwnProperty("id")){
var idParam = urlParams["id"];
/* Seach only column 0 = id */
var rowIndexes = componentsTable.fnFindCellRowIndexes(idParam, 0 );
var rowIndex = rowIndexes[0];
componentsTable.oScroller.fnScrollToRow( rowIndex ); // script terminates here with Scroller 1.0.1. works fine with 1.0
mixtureTable.fnReloadAjax('samplesJSON.php?id=' + idParam);
}
}
[/code]
[code]componentsTable.oScroller.fnScrollToRow( rowIndex ); [/code]
rowIndex is properly set (debug with firebug).
I'm taking a GET Parameter and use that scroll to the desired row:
[code]
"fnInitComplete": function() {
if (urlParams.hasOwnProperty("id")){
var idParam = urlParams["id"];
/* Seach only column 0 = id */
var rowIndexes = componentsTable.fnFindCellRowIndexes(idParam, 0 );
var rowIndex = rowIndexes[0];
componentsTable.oScroller.fnScrollToRow( rowIndex ); // script terminates here with Scroller 1.0.1. works fine with 1.0
mixtureTable.fnReloadAjax('samplesJSON.php?id=' + idParam);
}
}
[/code]
This discussion has been closed.