From: Marc G. <mgu...@ya...> - 2014-03-28 10:19:47
|
Hi, can you provide a minimal Html + Js code allowing to reproduce the problem and open an issue with it? Cheers, Marc. -- HtmlUnit support & consulting from the source Blog: http://mguillem.wordpress.com On 26/03/2014 04:49, Amer Al-Amayreh wrote: > Hello > I have found that RowContainer.insertRow(int) doesn't allow insert row > before the last row > The problem is in this line: > > if(index >= rowCount - 1) { > > I think the -1 should be removed. > > http://sourceforge.net/p/htmlunit/code/HEAD/tree/tags/HtmlUnit-2.14/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/RowContainer.java#l150 > > Thanks > |