Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular ag网格版本18.1没有';不再支持enableCellTextSelection_Angular_Typescript_Ag Grid_Ag Grid Angular - Fatal编程技术网

Angular ag网格版本18.1没有';不再支持enableCellTextSelection

Angular ag网格版本18.1没有';不再支持enableCellTextSelection,angular,typescript,ag-grid,ag-grid-angular,Angular,Typescript,Ag Grid,Ag Grid Angular,我们想禁用ag grid的剪贴板服务。我偶然发现了这个标志enableCellTextSelection,它应该完全关闭它。但不幸的是,它对网格没有影响。事实上,如果我将它指定为的直接属性,它将抛出模板解析错误 Uncaught Error: Template parse errors: Can't bind to 'enableCellTextSelection' since it isn't a known property of 'ag-grid-angular'. 这意味着它不是网格组

我们想禁用ag grid的剪贴板服务。我偶然发现了这个标志
enableCellTextSelection
,它应该完全关闭它。但不幸的是,它对网格没有影响。事实上,如果我将它指定为
的直接属性,它将抛出模板解析错误

Uncaught Error: Template parse errors:
Can't bind to 'enableCellTextSelection' since it isn't a known property of 'ag-grid-angular'.
这意味着它不是网格组件的有效属性。我可以直接将它添加到
gridOptions
。但是查看已解析的
gridOptions.d.ts
,它没有列出,这意味着它不是
gridOptions
的有效属性


它是被完全移除还是被另一面旗帜所取代?任何帮助都将不胜感激。非常感谢

我希望您询问的是版本
18.1
,而不是
1.18

似乎不存在该属性/功能。这是后来介绍的

请查看
**v18.1**

根据,它是在v22.1.0中引入的

AG-2729功能请求文档-添加示例/文档启用CellTextSelection:true


你能给你的问题添加一些代码吗?如果您的组件出现故障,那么定义AgGrid/此组件的模块将是greatHaha是的,谢谢您指出!我问的是18.1而不是1.18。接受和+1。