Datatable on cell click event

UI Components for JSF
Post Reply
User avatar
IsahannHan
Posts: 7
Joined: 23 Oct 2017, 17:28

18 Jun 2018, 16:09

Does PrimeFaces 6.1.x supports events at the click of a datatable cell where i can get both the column and row values?

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

18 Jun 2018, 20:40

Client-side it is all html. Look at the html the datatable generates for cells add jquery eventhandlers to them and in it read the value of the cell. Then you at least have it client-side. If you want it server side, you can add a remote command, but if you have a more specific usecase, please add an explanation. It is a kind of 'broad' question

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 51 guests