Bootstrap Check box component is not uncheck at runtime

Forum to discuss the new web client version of Servoy.

Bootstrap Check box component is not uncheck at runtime

Postby innovationahead4m03 » Sun Aug 13, 2017 2:01 am

Hi All,

I am very new to Servoy 8 and ngclient. As part of learning, I am using bootstrap check boxes, like, Yes or No , my requirement is, I want to uncheck "No" check box when "Yes" check box ticked and vice versa. I did implement onAction event to do this but bootstrap check box not showing as "UnChecked" though I set the dataProvider to 0.

Did I miss anything here ?
innovationahead4m03
 
Posts: 1
Joined: Sun Aug 13, 2017 1:56 am

Re: Bootstrap Check box component is not uncheck at runtime

Postby rafig » Sun Aug 13, 2017 5:48 am

Hi
try using the bootstrap extra components group buttons instead (see the sample) which can act like 'radio buttons' and you can give a value list of
Code: Select all
Y|1
N|0

with a boolean or integer column data provider and then component takes care of changing the other value when you set one of them??

Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 483
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Bootstrap Check box component is not uncheck at runtime

Postby chaitanyas » Tue Aug 15, 2017 8:07 am

Thanks Rafi, that's working okay. I am just curious to know, why it's not working for the Bootstrap components, do we need to call something to update the model ?
chaitanyas
 
Posts: 87
Joined: Tue Jul 26, 2011 8:28 am

Re: Bootstrap Check box component is not uncheck at runtime

Postby rafig » Fri Aug 18, 2017 4:46 pm

chaitanyas wrote:Thanks Rafi, that's working okay. I am just curious to know, why it's not working for the Bootstrap components, do we need to call something to update the model ?

Glad to help.

Guess you will have to wait for someone from Servoy to answer that...
Servoy Certified Developer
Image
rafig
 
Posts: 483
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: Bootstrap Check box component is not uncheck at runtime

Postby chaitanyas » Sat Aug 19, 2017 3:02 am

Hi All,

Please share what I missed here, your inputs are much appreciated.
chaitanyas
 
Posts: 87
Joined: Tue Jul 26, 2011 8:28 am


Return to Servoy NGClient

Who is online

Users browsing this forum: paronne and 6 guests