i try to fire bulk row in tabular form with selected rows based on LOV values,the rows are generating with default lov values inserted but not in my selected values.how can pass only selected list of values to insert in tabular form(specified column).
var a = $v("P3_SHUT_DELI_VALUE").split(":") // Delimiter is a string
//P3_EMP_LIST_ITEMS
for (var i = 0; i < a.length; i++)
{
var last_rownum = $('input[name="f02"]').closest('tbody tr:nth-last-child(1)').children('td').children('input[name="f02"]').val();
var next_rownum = 0;
//if(last_rownum == $v("P3_SHUT_DELI_VALUE").split(":") ){last_rownum = 0};
if(last_rownum == " " ){last_rownum = 0};
if (!$.isNumeric(last_rownum)) {last_rownum = 0};
next_rownum = Number(last_rownum) + 1;
apex.widget.tabular.addRow();
//var row0 = $('input[name="f02"]').closest('tbody tr:nth-last-child(2)');
//row0.insertAfter(row0.next());
$('input[name="f02"]').closest('tbody tr:nth-last-child(1)').children('td').children('input[name="f02"]').val(next_rownum);
//need lert as wait message until full rows finished coz we have morethan 100 rows.
var checkboxIndex = apex.jQuery('input[name=f01][value=0]').eq(i).parent().parent().index();
var SelectItem = apex.jQuery('select[name=f03]').eq(checkboxIndex);
var iOption = apex.jQuery(SelectItem).children().eq(i).val();
apex.jQuery(SelectItem).val(iOption);
}