Tuesday, February 4, 2014

Apex 4.0 Tabular Form - make Default add row checked (selected)

Apex 4.0 Tabular Form - make Default add row checked (selected)

How to make the row added using Add Row button default selected?

Steps:

  • Go to the page
  • Click on the Add Row Button
  • One can see that the Add Row button calls a java script addrow()
  • Add the following
$('input[name="f01"]:last').prop("checked", true);

Thus the URL target for  Add Row will be

javascript:addRow();
$('input[name="f01"]:last').prop("checked", true);


2 comments:

  1. I think this is among the so much vital information for me.

    And i'm happy reading your article. But wanna observation on few basic issues,
    The website taste is perfect, the articles is truly nice :
    D. Good activity, cheers

    ReplyDelete
  2. Thanks forr one's marveoous posting! I seriously enjoyed reading it, you could be a great author.
    I will always bookmark yyour blog and will eventually come back
    in the foreseeable future. I want to encourage you to ultimately conttinue your great writing, have a nice evening!

    ReplyDelete