I have a requirement users don't want to select more than one line
I want to customize LIG(line item grid). I have a requirement users don't want to select more than one line.
Requirement: in the line item grid if the user added 3 lines and if he selected the first one and he selected the second one the first should go away the second one should be true.
I am using JavaScript and manipulating the classes it's working selection on the UI back end it's holding the previous selection as well.
On the UI it's selected one only backend it hold previous selection as well.
Need Solution.