Our blazing fast Grid component built with pure JavaScript


Post by Suraksha »

Hi! I have implemented the search and I am obtaining the respective result. When I am passing that data to the grid I'm getting the following error:
"ERROR Error: Id collision on _generated_0xd9b2cb1,_generated_0xd9b2cb2,_generated_0xd9b2cb2,_generated_0xd9b2cb2,_generated_0xd9b2cb4"
May you help me in solving this issue

Post by mats »

We could not reproduce this issue. To assist you with your question, please provide more details including a runnable test case (as described in our support guidelines).

To get the fastest possible support, provide a simple test case based on our standard examples.

Post by Suraksha »

customSearch(key,columns){
const result = (<Store>this.gridEngine.store).search(key, colums);
this.gridEngine.refreshRows();
this.gridEngine.data=result; 
}
Hey!
I have a function named customSearch(), in which I'm passing the search key and the fields in which the search should take place. I'm refreshing the rows and further rendering the result obtained. This is when I'm landing up facing that error. Hope you understood.

But Gives duplicate id issue.

Post by mats »

No need to call
this.gridEngine.refreshRows();
We cannot debug this without a clear test case. Please modify one of our samples to show the error you are seeing.

Post Reply