1: I am adding no of empty row in ad grid though this method gridOptions.api.updateRowData({ add: [emptyObj] })
2: After Adding the row , each row having text box for the Colum,
3: on click of the text box i am rendering on component though this headerComponentFramework: ABCHeaderComponent,
4: In the ABCHeaderComponent html file i have a textbox, where i have change functionality
5: so when i am performing any change operation, one change method is getting triggered in ABCHeaderComponent.ts file,
**So the issue is below, **
1: suppose i added 2 rows in the grid , and i am doing the change operation in the 2nd row(index value 1)
2: but the value is getting update in the both the index (added the ss)
please provide the solution
on change method i tried in the below way
param.node.data.{nameofthecoulmfield} = ngModel variable of the input text
Please provide me the solution ,
if i am doing the change in the index o , index 1 value should not get upadted
Pradyumna Nayak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.