Hi there,
I am currently using EJ2 Grid as partial view components, so far it's working great. I am able to get and set the data successfully.
But I am now facing an issues where I can't get the correct selected record on 2nd load, where the grid will return me the value from 1st data set.
Details step below, with sample data.
- The grid is load with first set of data on load.
- Click on 1st row, return 1.
- Click on 4th row, return 4.
- Load the second set of data by clicking load button with filter text from input.
- Click on 1st row, return 1.
- Click on 4th row, return 8.
First set of data: { 1, 2, 3 , 4, 5, 6, 7, 8, 9, 10 }
Second set of data: { 2, 4, 6, 8, 10 }
Attach is the code I used, is there anyway I am doing wrong on this or some additional setup are required for the partial view script to run on second load.
Attachment:
Sample_f8f5faa7.zip