EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Modify checkbox value from a table widget
From: "Kasemir, Kay" <[email protected]>
To: Pilar Gil Jaldo <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 25 Apr 2018 12:48:30 +0000

Hi:


You've found a shortcoming in the table widget.

A CHECKBOX cell will update the cell's text, but updating the text won't select/de-select the checkbox.

I've created a ticket, https://github.com/ControlSystemStudio/cs-studio/issues/2426


A workaround for now would be to use a DROPDOWN type of column with "No", "Yes" as the data.

Writing the text "No" respectively "Yes" to such a cell will select the corresponding entry in the drop-down menu.


Thanks,

Kay



From: [email protected] <[email protected]> on behalf of Pilar Gil Jaldo <[email protected]>
Sent: Wednesday, April 25, 2018 4:03 AM
To: [email protected]
Subject: Modify checkbox value from a table widget
 

Hello,

I'm having problem while trying to modify the checkbox value from a table widget from a python script. And I would like to know if it is possible to do it.

Write now I have a table:

    tab = display.getWidget("Table").getTable()

And for enable the checkbox I'm using following command.

    tab.setCellText( 1, 1, "Yes")

The problem that I have is that I can see "Yes" written on the table, but the checkbox is not enabled.

Has someone of you handle before with such a problem?

Thank you very much in advance!

Pilar

--

Pilar Gil Jaldo
Embedded SW Engineer
[email protected] - Seven Solutions

"This e-mail and any materials attached here to, including, without limitation, all content hereof and thereof are confidential and proprietary to Seven Solutions,S.L and/or its affiliates, and are confidential. Without the prior written consent of Seven Solutions, this content may not (i) be disclosed to any third party, (ii) be reproduced, modified or otherwise used by anyone other than current employees of Seven Solutions or its affiliates. If you are not the intended recipient or if this message has been received in error, please immediately notify us via e-mail and delete it."


Replies:
Re: Modify checkbox value from a table widget Pilar Gil Jaldo
References:
Modify checkbox value from a table widget Pilar Gil Jaldo

Navigate by Date:
Prev: Re: Modify checkbox value from a table widget Pete Jemian
Next: Re: Modify checkbox value from a table widget Pilar Gil Jaldo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Modify checkbox value from a table widget Pete Jemian
Next: Re: Modify checkbox value from a table widget Pilar Gil Jaldo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 25 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·