admin管理员组文章数量:1391947
I am new to Ag-grid and am trying to create a basic table using Ag-grid and React. I am wanting to have some of my cells to be editable while some not. I tried using the source code from API docs, but it still wouldn't work.
I tried adding this:
`const defaultColDef = {
editable: (params) => params.data.rowIndex === 2 || params.data.rowIndex === 3,
resizable: true,
sortable:false
};`
However this seems to make no change to the table.
本文标签: reactjsAgGrid cell editing issue in ReactStack Overflow
版权声明:本文标题:reactjs - Ag-Grid cell editing issue in React - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744697558a2620371.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论