Hi,
I am using igGrid where I have column Default which is like checkbox. This check box should checked only on one row (basically like radiobutton between lines). Is there any easy way how to do it?
I tried column template where I added button for this purpose but in edit mod I had instead of button just text. I tried custom validation but I don't know how to get value of check box for edited/added line.
Can you please give advise how to solve this issue?
I accomplished this by doing two things:- Turn on the feature "Selection". This gives you events to know when a row is selected.- Get the radio button element of the row in jQuery and select it.Attached is a sample.
I used template row from your example with radio button and then I wrote big function around when user updates or adds new line but now it seems to be working. Thank you.