<p:commandButton 
                                    class="ui-button-danger mx-1 w-25" 
                                    icon="fas fa-trash" 
                                    id="btnDelete" 
                                    process="btnDelete"
                                    update="gpDetail lstSelect"
                                    onclick="if (!confirm('Are you sure you want to delete this record?'))
                                                return false;" 
                      