java - Deselecting a table row in PrimeFaces -
i have table this:
<p:datatable id="table" selectionmode="single"> ... <p:ajax event="rowselect" listener="#{mybean.onrowselect}" update="somestuff"/> <p:ajax event="rowunselect" listener="#{mybean.onrowunselect}" update="otherstuff"/> </p:datatable>
does know how trigger rowunselect
event on ui ?
another thing, possible values of selectionmode
attribute ? don't seem in documentation.
thanks,
to trigger rowunselect, once row selected, hold control key , click on row again. way row gets unselected, , ajax event executed.
possibles values selectionmode attribute "single" , "multiple".
Comments
Post a Comment