Set Focus On Add New Row in DataTable

Community Driven Extensions Project
Post Reply
rajaprabu
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 cursor.how to pointing new added row in cursor.

tandraschko
PrimeFaces Core Developer
Posts: 3271
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

16 Nov 2017, 13:42

How is this related to PrimeFaces Extensions?
Always Bet On Prime (+ Extensions)!

Thomas Andraschko
PrimeFaces Developer | PrimeFaces Extensions Founder
Apache OpenWebBeans PMC | Apache DeltaSpike PMC | Apache MyFaces PMC

Personal Blog: http://tandraschko.blogspot.de/

User avatar
Melloware
Posts: 390
Joined: 22 Apr 2013, 15:48

16 Nov 2017, 14:27

Please use this forum for your question: viewforum.php?f=3
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 6.1.X / PF Extensions 6.1.5

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests