Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alex Skorohod on Feb 20, 2009 01:12
open dhtmlx forum
Bug Report

The function getRowIndex(RowID) returns 'unspecified' if row not found instead of the documented -1. The fix is:
this.getRowIndex=function(row_id){for (var i = 0;i < this.rowsBuffer.length;i++)if (this.rowsBuffer[i]&&this.rowsBuffer[i].idd == row_id)return i; return -1;};
Answer posted by Support on Feb 20, 2009 06:43
Regression confirmed and fixed, oncoming update will support correct behavior. 
Thanks for provided info.