Good afternoon,
I am trying to get the selected row in the "dataTable" of bootsfaces. However I can not implement a property of type "onSelect" to retrieve the selected item.
Can this property be implemented in any way?
I would only need to be able to work with the selected item in the table.
This is part of my code :
<b:dataTable id=”tableProductsDetailsVats” fixedHeader=”true” selectionMode=”single”
style=”width:100%;” border=”false” responsive=”true” lang=”es” select=”true”
searching=”true” multiColumnSearch=”true” var=”product”
value=”#{Products.productos}” rendered=”#{Products.mostrarTabla}”
onselect=”console.log(#{product.nombre});” ondeselect=”console.log(‘deselect’);”>
<b:dataTableColumn value=”#{product.nombre}” contentStyleClass=”center”
header-style=”text-align:center;” content-style=”width:30%;”
label=”#{textMsg[‘container.detailsProduct.table.obj.name’]}” />
</b:dataTable>
Thanks for all !