Rendering html objects in layui table

  • The first

    <script type=”text/html” id=”see-bar”>

    <a class=”layui-btn layui-btn-primary layui-btn-xs ” data-id=”” onclick=”see(this)” lay-event=”See” style=”color:#2880cb”>< /a>

    </script>

    table.render({

    . . .

    , cols: [[

    , { ‘13%’, title: ‘card number’, align: ‘center’, rowspan: ‘1’, toolbar: ‘#see-bar’ }

    ]]

    . . .

    });

    the second

    , cols: [[

    { type:

The post rendering html objects in layui table first appeared on Lenix Blog .

This article is reprinted from https://blog.p2hp.com/archives/9657
This site is for inclusion only, and the copyright belongs to the original author.