Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在列单元格中打印一个锚点。但是,我不知道如何正确地做到这一点。
我将单元格定义为:
{name: 'menu', label: 'Menu', cell: Backgrid.UriCell.extend(), sortable: false}
但是,我不知道如何设置链接的文本。有任何想法吗 ?。
使用标准 uri 单元格,您不能拥有与实际 uri 不同的链接文本。您需要重写 render() 方法才能完成此操作。
您可以阅读源代码。这很简单。