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.
免责声明:我是 UI-Grid 的新手
根据 ui-grid 文档,可以通过提供 class 来设置单元格的样式。
但是是否可以为给定的单元格选择模板?我想做的不仅仅是课堂风格。
是的,您可以使用cellTemplate
这是默认单元格模板
cellTemplate: '<div class="ui-grid-cell-contents">{{COL_FIELD CUSTOM_FILTERS}}</div>'
这是Plunker