Comments (33)
@Wykks
Is possible on:
Grid level: suppressMovableColumns: true (https://www.ag-grid.com/javascript-grid-properties/index.php)
Column level: suppressMovable: true
from ag-grid.
Thanks cnd5041 for your input, it's deffo on my 'to do' list . . . . just finishing 'checkbox selection' at the mo, next on my list is 'cell selection and keyboard navigation'.
from ag-grid.
Agreed, will put in at some point. Thinking a popup with two lists for now,
with 'add' / 'remove' columns as well re-ordering. Then dragging columns
would be a nice 'show off' feature.
On 8 March 2015 at 02:23, Austin [email protected] wrote:
Column re-ordering would be a nice feature, you already have resizing.
—
Reply to this email directly or view it on GitHub
#6.
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Statements and opinions expressed in this e-mail may not
represent those of the sender. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender immediately and delete
the material from any computer.
from ag-grid.
Just wanted to second the request for the column re-ordering / dragging re-order.
Haven't implemented yet but looks awesome, thanks for making it!
from ag-grid.
+1 for this... was thinking the same
from ag-grid.
I want to use the column reordering feauture using drag drop in my app.
Could you please let us know the request's status / priority.
Thanks in advance.
from ag-grid.
status: not started. priority: medium. estimate: two or three months from now.
from ag-grid.
Any updated time frame on this?
from ag-grid.
+1 on column reordering!
from ag-grid.
you can reorder using the toolpanel
from ag-grid.
Excellent, just tried the new Test Drive! :)
from ag-grid.
+1 on draggable Reorder of columns (not having to use the toolpanel).
from ag-grid.
+1 . . . on my list
from ag-grid.
+1
from ag-grid.
+1
from ag-grid.
+1
from ag-grid.
+1
from ag-grid.
+1
from ag-grid.
+1
from ag-grid.
Guys, you have custom header renderer, you can implement drag&drop there, and call gridOptions.columnApi.moveColumn(fromIndex, toIndex) on ondragover.
I'm working on something like this just now. But it's with angularCompileHeaders: true also.
http://www.ag-grid.com/angular-grid-header-rendering/index.php
from ag-grid.
Here you go, a simple example:
http://plnkr.co/edit/S9Qjno?p=preview
from ag-grid.
+1
Thanks @lucaalex87, really nice example
from ag-grid.
+1 is there any estimation about that?
from ag-grid.
dragging column headers will be in in the next week or two. it's the next 'big ticket' item i'll be doing.
from ag-grid.
Works great with the lastest version, thanks !
Can you add an option/api to disable/enable this manually ?
from ag-grid.
Whoa I missed that. Thanks ! :)
from ag-grid.
closing this issue, complete :)
from ag-grid.
I found an issue.
Using ag-grid.min.noStyle.js: dragging column moves only the header and not the whole column.
Using ag-grid.min.js: dragging column moves whole column (expected)
from ag-grid.
that's really strange, the only difference is 'noStyle' doesn't contain the css.
are you including the css yourself directly then?
from ag-grid.
@nsteenbeek i've just tested, it works fine for me
from ag-grid.
@ceolter My fault! Forgot to update the ag-grid.css. That's why the version including styles worked. Thumbs up for ag-grid!
from ag-grid.
Thanks cnd5041 for your input, it's deffo on my 'to do' list . . . . just finishing 'checkbox selection' at the mo, next on my list is 'cell selection and keyboard navigation'.
For keyboard accessibility.
Column re-ordering would be a nice feature with keyboard.
from ag-grid.
Thank you for your comment @chenokn.
You'll be pleased to know that we are looking to add this functionality with our next v31
release. I have added the backlog item reference to this Github issues for your reference.
from ag-grid.
Related Issues (20)
- SSR in React? HOT 1
- Filters persistence after data updates HOT 2
- Bug - Set Filter reset between renders HOT 1
- enabling tool panel shows hidden columns on the grid HOT 3
- Ag-grid can't create react stream. that's why I get TypeError: Cannot read properties of undefined (reading 'prototype') at _inheritsLoose HOT 1
- Bug: AG Grid React uses functions such as getSelectedNodes when dragging rows with groupsSelectsChildren={true} in Tree Data mode using the SSRM HOT 1
- Is there an api for editing to trigger immediately
- How to achieve the effect in the picture HOT 1
- Ag-Grid-Enterprise has not been imported issue HOT 3
- About the popup window being closed
- refreshCells doesn't refresh aggregation rows [react] HOT 2
- How do I make the ag-grid table listen to keyboard events for a custom editing component?
- AG-Grid TreeData sorting is not working HOT 1
- Failed to resolve import "@ag-grid-community/styles/ag-grid.css" HOT 2
- For checkbox cell, the cellValueChanged event will not be fired once in the inline cell edit mode HOT 1
- ag-grid-enterprise types are not compatible with ag-grid-react HOT 2
- Component <Anonymous>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered. HOT 3
- Empty changelog HOT 1
- Master-Detail in community HOT 1
- Ag Grid Enterprise Edition - Date filter problems HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ag-grid.