In the face of certain problems during my development the following doubts arose for example.
When I use the ajax
tag in Primefaces
, it has the event
property where we pass events, so I had some questioning.
Once I had to figure out how to click on checkbox
select all, I used the event click
and the function would return me an event via this function's parameter.
Now working with datatable
with property of editing the data in itself, I used events of type rowEditInit
and rowEditCancel
, because the created table contains a button to edit the data and another to delete, and logico I thought, if the person is editing, it would be nice to block the delete button, of course this goes from thinking to thinking and this is not me debating.
And then I tried to use the parameter pass in this function to enable and disable the button but could not find the event, then the doubt came to me, these events are Jquery
, are Primefaces
?
Where are they documented? I saw in the manual the rowEdit
, rowEditInit
and rowEditCancel
but it does not have any parameters to work on.
I have this doubt and also a way of letting other forum colleagues know, as I think this can help.