Guys, tell me how to influence the selection of an element in the records from the dataTable. The table is filled with elements in the first columns of the edit and delete button, then the field
after the delete button is pressed, the element is deleted from DS, the table is updated and the button for deleting the first element from the remaining elements becomes selected and highlighted.
Someone tell me how to influence this, for example, I don’t want to choose which element at all or want to choose a button not in the first line but in an arbitrary one? here's the button code if that helps
<p:column style="width:32px;text-align: center"> <p:commandButton id="deleteItemBtnTree" icon="ui-icon-close" title="Удалить запись" actionListener="#{commonDimensionItemList.deleteItem(node)}" update="@([id$=commonDimensionItemPanel]), @([id$=treeTableId])" onstart="PF('commonDimensionItemPanelBlock').show()"/>
Thank!