layui hide table columns

According to demand we need to show some data, but sometimes that these data do not show up, such as different roles to see different data, this time it will need to hide some of the data

We need to be handled in complete form callback

done: function (res, curr, count) {
                    $("#course [data-field='Id']").css('display', 'none');
                }

 

Guess you like

Origin www.cnblogs.com/xiaonangua/p/11911150.html
Recommended