-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow standard browser selection mode (for copy/paste) #87
Comments
yes your right, that's not supported, and yes your right, that would be On 23 April 2015 at 20:36, kbdguy notifications@github.com wrote:
The information transmitted is intended only for the person or entity to |
Is this functionality available yet? |
nope, sorry. |
Is it possible to copy multiple rows from excel and paste into the grid ? |
no, afraid not. |
CTRL+C one cell at least would be a killer feature, waiting patiently :) |
:) yea, i hear yea, it's on my list, honest, just so busy, eg i've just finished implementing 'master / slave' grids, which allows grid footers!!! |
It seems to be caused by the property |
to make the grid behave more like a grid. if your in excel, for example, it's not normal to select text in the cell, but cells as a whole. my plan is in the future, to allow cell selection. and then ctrl+c to copy those cells. for now, the plan is to get ctrl+c to copy the selected rows. |
eagerly waiting for this copy/paste feature! |
+1 for this feature |
2 similar comments
+1 for this feature |
+1 for this feature |
Just wanted to mention that ag-grid was very interesting to us, but missing feature was a deal breaker for our company adopting ag-grid |
I can't win them all. Give me a few months early next year, all the standard grid features will be in. |
small hack to get this mostly working through css - may cause other problems |
The hack does enable copy from individual cells, like http://ui-grid.info |
+1 for this feature |
+1 |
+1 for this feature |
this is implemented in v4 of ag-Grid Enterprise. you range select (or select rows) and can copy to clipboard. |
CTRL+C one cell still not available, i don't know why using -webkit-user-select: none. |
@openseah yes it is, go here: |
CTRL+C only works when rowModelType is standard. How to make it work if we are using viewport ? |
|
This doesn't work if you have suppressCellSelection on. We don't want the web grid to behave like Excel, so that's why we have that turned on. Standard browser selection mode would have a text cursor when the mouse is over text (not a pointer), and the cursor would select text (ie, you could select part of a word or sentence within a cell, rather than just the whole cell). Any chance we could get standard browser selection capabilities when suppressCellSelection is on? Here are my full grid options (excluding columnsDefs + rowData): |
Is the copy cell data(through Control +C ) feature available only for Enterprise edition of Ag-grid? |
Is there a way to select only certain text in a cell and copy? |
have the same question as @a497988 mentioned |
Very disappointed to know one of the required feature is Enterprise only feature. |
Do you know if the workaround @spacem gave breaks any functionality? |
same question. |
+1 for this feature. |
just change the default css solved the problem. |
I've created a gist/directive that seems the closest to the best of both worlds for me
|
The enterprise copy feature copies a whole row, how can I just copy the cell? (which would be a more common choice in my opinon). I can see the latest AG Grid in the Balham demo seems to work but I can't seem to select individual cells with v14.2 |
@Mage111 it solvs just selection problem, still you are not able copy selected text by |
In this way, all the data are stick together without blank or tab, how to solved this? |
create new class and apply this css |
see: https://www.ag-grid.com/javascript-grid-properties/ - |
I believe enableCellTextSelection is limited to "enterprise" edition, so other work-arounds are valuable. |
@kbdguy The enableCellTextSelection is applied directly to the cell and should work with community version. |
@gportela85 Thanks! I don't understand what you mean by "applied directly to the cell." In Community edition, the attribute is not available as a member of the ColDef interface or the GridOptions interface or GridOptions.api or GridOptions.columnApi. Or is this something new? I'm using version 20. |
@kbdguy It was introduced in 20.1 as part of the gridOptions |
Add |
I have raised a bug regarding the cell text selection feature. When cell text selection is enabled and a column is not editable, double-clicking text in a cell results in the highlighted selection bleeding over into other cells: #3411 |
When you set enableCellTextSelection to true it causes numeric alignments to shift to the left. ie those with type: "numericColumn" Community Edition. |
We have "enableCellTextSelection" set to true, it works on Chrome fine, but doesn't do anything on Safari. |
Add this to your stylesheet |
I want to be able to select a row if I click on it and copy data from the cell I clicked on. Is this possible?
suppressRowClickSelection appears to change the copy/paste behavior to copy the entire row (instead of just the cell I was at) or no copy/paste at all (depending on other settings). |
Hi ... Is it possible to over ride the default copy,paset and select all options in the browser when user selects a text pop then a custom copy paste options |
Is there any feature to enableCellTextSelection only for a particular row? |
I will frequently browse a grid, and see something I want to copy (for a subsequent "paste" into another application) in a cell or maybe multiple cells. Seems like that's not supported in this grid: I can't select anything for copy/paste. If I'm right, then I'd like to make a request to get that functionality added somehow!
The text was updated successfully, but these errors were encountered: