Our blazing fast Grid component built with pure JavaScript


Post by janan »

I would like to have one of the column type as radio button. I have seen checkbox column type but I would like to select only one row.
My code is as follows:
 column.template = '<input type="radio" name='+data.value.name+' value=' + data.value.value +' checked='+checkedValue+'> ';
In edit mode I would like to access the changed value in radio buttons. Is there any onChange function for templateColumns?

Post by sergey.maltsev »

Hi!

Why not to use column with type : 'combo' for this which allows to select one value from the list?

Check dropdown Color column here
https://www.bryntum.com/examples/grid/columntypes/

Post by janan »

Hi,
Combo doesn't work as I have list itself as table. I would like to have radio button in each row and select only one row.

Post by mats »

You can style the rows to make it look like there's a radio button. Then it should be the UI you requested?

Post by janan »

Hi,
We are also looking for functionality of radio button not just UI. We would like to select one row from table.

Post Reply