Donate

Bootstrap Table Uncheck The Checkboxes On Page Load

Good evening all!
When working with checkboxes in Bootstrap Table created by Wenzhixin, you may have notice that on page load the checkboxes are checked by default. If you want to uncheck these checkboxes on page load of your ASP.NET MVC page, call the checkInvert method of the bootstrap table on document ready of the page such as the code below:
$(document).ready(function () {
 UncheckShoppingCartTable();
});
  
function UncheckShoppingCartTable() {
    $('#tblShoppingCart').bootstrapTable('checkInvert');
}

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

How To Insert Or Add Emojis In Microsoft Teams Status Message

Bootstrap Modal In ASP.NET MVC With CRUD Operations