i am combo in IgGrid Cell so I want to change another cell text on select the combo value Using JS
Loading
i am combo in IgGrid Cell so I want to change another cell text on select the combo value Using JS
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jayraj ChhayaPosted Dec 18, 2023, 7:06 AM
To change the text of another cell in an IgGrid when selecting a value from a combo box cell, you can use JavaScript to handle the event when the combo box value changes. Here's an example of how you can achieve this:
I assume that you have an IgGrid with two columns: "Combo Box" and "Text". When the value of the combo box changes, the
valueChangedevent is triggered. Inside the event handler, we retrieve the selected value from the combo box, the row index of the combo box cell, and the cell element of the text column in the same row. Finally, we update the text of the text cell with the selected value.Make sure to replace
#gridwith the actual ID of your IgGrid, anddatawith your actual data source.