【问题标题】:ng2 smart table custom,renderComponentng2 智能表自定义,渲染组件
【发布时间】:2018-09-17 07:25:49
【问题描述】:

我是 Angular 的新手。我在我的 Project.in 列的 renderComponent 选项中使用 ng2-smart-table。我可以在一个模块中使用父组件,在另一个模块中使用子组件。

【问题讨论】:

    标签: ng2-smart-table


    【解决方案1】:

    如果类型是 custom,则必须定义 renderComponent 属性。 在查看模式下负责呈现单元格内容的自定义组件。类型必须是自定义的才能使其工作。 可以看一个例子here

    我给你一个链接,你可以找到documentation on smart table

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-10
    • 2022-01-23
    • 1970-01-01
    • 2020-03-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多