Comments (3)
Hi
Thank you for reporting this.
We'd be happy to look into this, but the most efficient way for us to do so would be for you to provide a live example reproducing the issue.
Please send us a live plunker sample which shows the issue. You can use one of the examples from our website as a starting point. Do let us know if you need further guidance on this.
We're looking forward to your response.
Kind regards,
Zoheil
from ag-grid.
Hi Zoheil
Right now I don't have a plunker sample with me for the issue but let me try to explain my problem in words :
Suppose I have a grid and a button outside .
The button when clicked, inserts a row in the grid.
Let's have a grid now with some rows .
If I click the button now the new row gets inserted at the bottom.
Now use a text filter on the row and you have some fewer rows .
If I click the button the row is inserted at some random point, either top or bottom or in between.
Is there a way I can insert / show it at a specific position.
Also I tried adding index property in the apply transaction function but that also breaks when sorting is applied.
Why is this happening ?
from ag-grid.
Hi,
I have a similar issue. When I have an external filter and some rows are filtered out and I want to insert a new row at a certain position, let's say as 5th row, the new row is inserted as 5th row in the filtered grid, but my original intention was to set the new row as a 5th row in the overal grid (unfiltered one).
Is there a way to insert a row in a particular index into a grid while the grid is filtered?
I am setting the new row using applyTransaction
, i.e. this.gridOptions.api?.applyTransaction({add: [newGridRow], addIndex: 4});
from ag-grid.
Related Issues (20)
- AG Grid: Expand row to top HOT 1
- Cell editing HOT 1
- Reopen issue 7854 HOT 3
- Ag-Charts in Vue 3: Broken and Lacking Support HOT 5
- Stumped - Cannot Access API Methods in React Using gridRef HOT 1
- Style injection and shadow DOM HOT 1
- Nested data for Tree data
- The getValue() method can't be found when the custom component is deployed to the server, but it can be found when run locally HOT 1
- Populate multiple selected cells with one value HOT 1
- Incorrect Checkbox Icon Rendering for Boolean Values in Grouped Columns HOT 1
- Setting the Row height looses centering of the text HOT 4
- <ag-grid-angular> switch between [treedata] HOT 1
- Update a cell that is currently being edited [32314] HOT 1
- A bug occurred when the Paid Enterprise filter was searched remotely HOT 4
- Issue with the theme builder generated css file HOT 1
- Can a ag-grid cell has 3 or 4 functions?I mean that the cell has 3 or more click events,you can use these envet to do what you want to do .
- Set Filter with excelMode HOT 1
- Multiple grids in the same Vue component fail to load data after upgrade to v31 HOT 1
- Ag-Grid tree data formatting data
- Ag Grid SSRM Row Group performance 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.