Thursday, 12 February 2015

Insert new row at end of ADF table

Hi All, In today's post i will explain you how to insert new row at the end of table. By default when we click on CreateInsert button it creates a new row at first index of table. But some times we may get requirement to create row at last index of table.

Default CreateInsert at first index in ADF table

Now to add the row at last index as shown below.

We need to override the insertRow(Row row) method of ViewObjectImpl class.

Now run the jspx page and click on CreateInsert button. It creates the row at last index.

Thanks :) Happy Learning :)