Hi Karthik,
The variant key cannot be same for both input field and link to action. It should be different.
So, you no need to have two variants, you can just have one variant either for link to action or input field.
By default, an element without any variant would be set as cell editor in table. if you pass VARIANT key exclusively, then system sets the element inside variant as cell editor.
In your case, create a variant for LINK TO ACTION and pass while populating value into context node. For initial line, no need to pass any variant key as system by default picks the INPUT field as cell editor.
Hope this helps you.
Regards,
Rama