The new update of ag-grid, version 18.1, no longer includes the feature for enabling cell text selection

I am attempting to disable the clipboard service in ag-grid. I have come across the enableCellTextSelection flag, which supposedly disables it completely. However, when I try to use this flag as a direct property of <ag-grid-angular>, it results in a template parse error.

Uncaught Error: Template parse errors:
Can't bind to 'enableCellTextSelection' since it isn't a known property of 'ag-grid-angular'.

This indicates that 'enableCellTextSelection' is not a valid property of the grid component. While I can add it directly to the gridOptions, upon checking the resolved gridOptions.d.ts, I found that it is not listed there as well, meaning it's not a valid property of gridOptions.

Has this flag been removed entirely or replaced with another one? Any assistance on this matter would be greatly appreciated. Thank you!

Answer №1

Regarding your question, I believe you are inquiring about version 18.1, not 1.18.

It appears that the specific property or feature you are referring to was not initially available and was later introduced.

For information on v18.1, please refer to the documentation on Clipboard

According to the details provided in the ChangeLog, the feature was added in v22.1.0

AG-2729 Feature Request Docs - Include example/documentation for enableCellTextSelection: true

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Passing a variable to a cloned template in Angular 2: A guide

When working with Angular2, I encountered an issue with my template code that I am cloning every time a user clicks a button. Despite following instructions provided in this post How to dynamically add a cloned node in angular2 (equivalent to cloneNode), I ...

The Angular Cli seems to be having trouble loading a State property and its reducer within the ngrx store all of

Following some minor changes to my application, I encountered an issue with my ngrx store not loading properly. While most of the store properties are displaying as expected and even fetching API results through their reducers, I am noticing that a crucial ...

Struggling to locate the module with the imports of { async, TestBed } from '@angular/core/testing' and { IonicModule } from 'ionic-angular'

Unable to locate module: import { async, TestBed } from '@angular/core/testing'; import { IonicModule } from 'ionic-angular'; Working with Ionic 3, attempting to perform Unit testing on my application but encountering issues in the s ...

Refresh Form Following Submission

When using a react form that triggers a graphql mutation upon button click, the text entered in the form fields remains even after the mutation has been executed. This necessitates manual deletion of text for subsequent mutations to be run. Is there a way ...

Creating a dynamic web application using Asp .NET Web Api, MVC, and Angular 2, integrating an action that

Working on an ASP .NET MVC application integrated with Angular 2, I encountered a problem when trying to communicate from the angular service to a WebApi Controller. The issue arises when attempting to access an action within the WebApi Controller that req ...

Make sure to update the package.json file before initializing a fresh Angular application

As a newcomer to Angular, I'm currently following a tutorial that utilizes angular/cli version 8.3.6. I'm attempting to create a new app for an ASP.NET Core project, but I keep encountering dependency conflicts during the setup process. Running ...

Received 2 arguments instead of the expected 1 in the custom validator causing an error (ts 2554)

After implementing the following validator, I encountered an error message. The error states: "Expected 1 argument, but got 2 (ts 2554)." Although many sources mention overloading as a common issue, there is no overload present in this case. export const ...

Can I run Angular, Flask, and MongoDB all with just the `npm start` command?

Our team is in the process of developing a web service that utilizes Angular for the front-end, Flask for the back-end server, and MongoDB as the database. When it comes time to launch our web service, we need to run three separate processes: npm start ( ...

Angular - ngbDropdownMenu items are hidden from view, but their presence is still detectable

Hey there! I'm currently working on a school project and I'm aiming to implement a drop-down menu. Surprisingly, it's proving to be more challenging than expected. <div class="parrent"> <div class="row"> ...

Is there a universal method to transform the four array values into an array of objects using JavaScript?

Looking to insert data from four array values into an array of objects in JavaScript? // Necessary input columnHeaders=['deviceName','Expected','Actual','Lost'] machine=['machine 1','machine 2&apo ...

Bring in an Angular Component into a different Component by stating the name of the component as an input parameter

In my project, I am looking to develop an angle component made up of multiple sub-components. The end goal is to construct a versatile tree component with nodes that cater to different data types. Each data type in the tree component will import specific s ...

Is it necessary to have a Test Adapter in VSTS in order to include a code coverage report?

Currently, I am producing code coverage using Karma-coverage and hosting my output coverage folder on an http-server for local viewing. My question is: How can I display this report on the VSTS code coverage tab? Do I need to re-format my coverage result ...

Troubleshooting ngModel Binding Issue with Sub-Children in CKEditor 5 and Angular 7

Firstly, I am sharing my code below: ListPagesComponent: export class ListPagesComponent { public model = { id: -1, actif: 0, link: '', htmlContent: { fr: '', ...

Angular 5 combined with Electron to create a dynamic user interface with a generated Table

I am working on an Angular Pipe: import {Pipe, PipeTransform} from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; import * as Remarkable from 'remarkable'; import * as toc from 'markdown-toc&a ...

"Sorry, there was an issue with AmStockCharts when trying to update the chart: Unable to assign a value to the '

Currently, I am using Angular 4.3.6 along with TypeScript 2.4.2 for my project. The issue that I am facing involves reading data from a socket and attempting to add it to the dataprovider. I came across an example at: While implementing a serial chart, q ...

Injecting dependencies in Angular into an exported function

After diving into the world of apollo graphql, I stumbled upon a fascinating module housing an intriguing function. export function createApollo(httpLink: HttpLink, connectToDevTools: true){ The heart of this function lies in defining the url for the gra ...

Encountering an error in an Angular 4 application when running in Internet Explorer 11: "Unable to execute code from a script that has been freed

I am encountering an issue with my Angular app, which I believe is running version 4. The problem arises in Internet Explorer 11 during a login sequence and the error message states "Can't execute code from a freed script". The IE console points to li ...

Sending an array of data using Angular in a web service

Here is my model object from model.ts name_id: string[]; public generateUrlencodedParameters(token: string, id?: number): string { let urlSearchParams = new URLSearchParams(); urlSearchParams.append('name_id', this.name_id.toS ...

Transitioning an AngularJS factory to TypeScript

I'm currently in the process of transitioning an AngularJS application to Angular and one of the challenges I've encountered is converting my JavaScript code to TypeScript. While I've been successful with components and services, factories h ...

The problem with the onClick event not triggering in Angular buttons

My issue revolves around a button in my code that is supposed to trigger a function logging the user out. However, for some reason, the event associated with it doesn't seem to be functioning at all. Here's the relevant code snippet: TS File: imp ...