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.
是否可以即时向 slickgrid 添加一个全新的列。我正在尝试制作一个用户可构建的矩阵,并需要他们能够在构建时添加列。
var columns = grid.getColumns(); columns.push( columnDefinition ); grid.setColumns(columns);
以例如
var columnDefinition = {id: "column1", name: "title", field: "column1", editor: Slick.Editors.Text};