Set Focus On Add New Row in DataTable

Community Driven Extensions Project
Post Reply
Posts: 1
Joined: 16 Nov 2017, 11:05

16 Nov 2017, 11:15

i am add new row for dialog inside using <p:accordionPanel> <p:tab> <p:dataTable> Set Focus On Add New Row in in dataTable.

i am trying sample code

<p:commandButton value="Add Row" icon="ui-icon-plusthick" actionListener="#{beaN.addRow}"
oncomplete=":vehicleDeliveryForm :vehicleDeliveryDialog :menuForm:menuBar;"></p:commandButton>

Button action page is refresh going first row in to pointing new added row in cursor.

PrimeFaces Core Developer
Posts: 3756
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE

16 Nov 2017, 13:42

How is this related to PrimeFaces Extensions?
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me:

Posts: 1943
Joined: 22 Apr 2013, 15:48

16 Nov 2017, 14:27

Please use this forum for your question: viewforum.php?f=3
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile:
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest