Comments (4)
Hi @ShubhamSinghNW18 can you share a stackblitz example of that issue? Thanks!
from ka-table.
Hi @komarovalexander
Please check this url https://stackblitz.com/edit/table-row-reordering-ts-2j7isl?file=Demo.tsx
On line number 34 I have added 1 console log which shows the targetRowKeyValue
when you reorder the column 1 row 0 to position 1 it shows the targetRowKeyValue as 1 which is correct but when you reorder that same row i.e column 1 row 0 to position 0 it again shows targetRowKeyValue as 1 ideally it should show 0 because we are reordering that row to position 0
from ka-table.
Hi @komarovalexander
Do you have any update on this issue?
from ka-table.
Hi @ShubhamSinghNW18 it is actually works as expected, as it is targetRowKeyValue (not targetRowIndex), so to move one row from one position to another you have to specify the key of the row to which position you want to move it
from ka-table.
Related Issues (20)
- Add table rows in chunks HOT 2
- Set limit of elements for virtual scrolling HOT 2
- the sort arrow icon appears at the bottom instead of on the side HOT 3
- Row reordering not working in Android phones HOT 2
- ROW REORDERING WITHOUT CHANGING THE S/N HOT 2
- Resizing column resizes more than one column HOT 4
- page index HOT 1
- Group summary with groupPanel
- Groups with groupedColumns
- While in add new Row mode, updateEditorValue does not propagate the value to the display HOT 3
- Using useTable along with Custom Editor throws an error table.openEditor is not a function HOT 3
- Formatted value HOT 1
- MoveFocusedUp/Down with Grouped columns
- Make ITableProps a generic HOT 1
- Setting columns dynamically HOT 1
- Action "DeselectAllFilteredRows" and "DeselectAllVisibleRows" works the same HOT 2
- Show summary in footer HOT 1
- Display summary on group row HOT 4
- unable to create two instance of KaReducer for two Table Grid HOT 4
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 ka-table.