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: 3671
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

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: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Melloware
Posts: 1392
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: https://github.com/melloware
PrimeFaces Elite 7.0.8 / PF Extensions 7.0.3

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest