4
Faced with certain problems during my developments I arose the following doubt for example.
When I use the tag ajax
in the Primefaces
, has the property event
where we passed events, then I arose a certain question.
Once I had to find a way to click on checkbox
select all, I used the event click
and the function returned me an event via this function’s parameter.
Now working with datatable
with the property of editing the data itself, I used events of the type rowEditInit
and rowEditCancel
, because the table created contains a button to edit the data and another to delete, and logic that I thought, if the person is editing, it would be good to block the delete button, of course this goes from thought to thought and this is not me discussion.
And then I tried to use the parameter passage in this function to enable and disable the button but could not find the event, so I wondered, these events are from Jquery
, are of Primefaces
?
Where are they documented? I saw in the manual rowEdit
, rowEditInit
and rowEditCancel
but does not have what parameters to be worked.
I have this doubt and also a way for other forum colleagues to know because I think it can help.
Thanks for the reply, I noticed something in this regard, but due to lack of experience I sought opinion of colleagues from the SO.
– Macario1983