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.
我想使用 primefaces 3.x 动态创建一个数据表,并且能够编辑整个单元格。所有单元格内容将是选择框。如果我在 primefaces 中使用“列”,我将能够创建动态列,但能够创建无法创建的可编辑单元格,请告知
目前看来是不可能的。 来自 PM 手册。 如果您不知道要渲染多少列,动态列很方便。Columns 组件用于以编程方式定义列。它需要一个集合作为值,两个迭代器变量称为 var 和 columnIndexVar。支持 sortBy 和 filterBy 等功能,但不支持编辑等高级功能。