1 Reply Latest reply on Jul 10, 2007 9:30 AM by kokochka

    CheckBox and ComboBox CellRenderer API

    olally

      Hi there,

      I donwloaded a sample ffrom www.macromedia.com/go/component_samples.

      which embeeds check box , combobox into a list component.....

      I placed a new button on the stage called selectAll_btn , on clicking this button I should be ablt to make all the checkboxes in the list component as "selected"

      Can any one suggest me how to trace the check boxex which embeeded in the list component


      thank you very much

      Bindu
        • 1. Re: CheckBox and ComboBox CellRenderer API
          kokochka
          I would just loop for the entire entries of the component
          cellRenderr will updates automatically the dataProvider

          My problem is it works fine on a local disk. But on a remote server, it doesn't quite properly.

          b_selectAll.onRelease = function() {
          for (var i:Number = 0; i<cdgComponents.length; i++) {
          cdgComponents.dataProvider.editField(i, "select", "true");
          }
          };
          b_deselectAll.onRelease = function() {
          for (var i:Number = 0; i<cdgComponents.length; i++) {
          cdgComponents.dataProvider.editField(i, "select", "false");
          }
          };