Skip to Content
avatar image
Former Member

Checkbox check in table not showing new bound value based on button

I have a table that contains checkboxes in one of the columns. I also have two buttons - one to select all (checkboxes) and one to de-select.

I bound the checkbox checked attribute to a boolean in the context attributes the table is being derived from. I can set this flag to true or false and the view displays the checkbox correctly. When I clicked the button and looped though the context changing the checkbox attribute (though the attribute is changed) the table does not show the new state (checked or not checked).

How do I get this checkbox to "refresh" so that it shows checked or not based on the button event results?

Regards,

Diane

Edited by: Diane Fuller on Mar 21, 2008 12:53 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 21, 2008 at 11:55 AM

    No need to refresh. Please post the code of the button handler.

    Armin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      AHHHHH!!! The buildView method in the wdDoModify view was running everytime. I had commented out the if (firstTime) statement.

      Thank you for looking and responding so quickly!

      Diane.