check all fields in Multi-Update modals

Tips submitted by ASP.NET Maker users
Post Reply
darkdragon
User
Posts: 148

check all fields in Multi-Update modals

Post by darkdragon »

Hello,

One small hack to automatically check all fields in Multi-Update modals.
add the following in Client Scripts -> Table-Specific -> Multi-Update Page -> Startup Script:

$("#u").trigger("click");
// hide select all row
$("#u").parent().hide();
// hide each field checkbox
$('input[type=checkbox][name^="u_"]').hide();
$('label[for^="u_"]').removeClass("custom-control-label");

Post Reply