{common.radio()} activate first Item/ change item

Hi,

I’ve a datatable with a column “lActive”. Im using the “{common.radio()}” as template.
in the onShow i select the row with “lActive” = True.

When a select a different row the “lActive” state isn’t changed. To make any other row be changed i’ve to active first my (allready)selected RadioButton.

How can i activate this ‘first’ radio button in the onShow() ??

thanx

I managed to use this command, but this is not the right method to do/use, but it works…

" getDataTableObj()._last_checked_radio[“lActive”] = lnActiveRow; "

I find out in which Row my "lActive is True "and stores this in lnActiveRow.
probably in a next version a function to set the starting element?

Yep, you are right. Current version has problem with unchecking the initially checked radio.

Fix will be included in the next build. ( if you active license - you can grab Webix 2.1.8 from the customer area )

thanks