Column count for list box won't change

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default Column count for list box won't change

    I'm using a static XML set to populate a list box. Because I want to control
    which columns (fields) are visible and which rows (records) are displayed, I'm
    parsing the XML into an array of objects with the required properties. An
    example of the array could be:

    dp ==

    This displays the data just as I want it.
    Then, depending on filter/sort combos within the movie, I want to change the
    display. The user has filtered/sorted on columns Matriculation Year and Status
    (both of which are in the original static XML). The newly generated array looks
    like this:

    dp ==

    However, when I set

    myListComponent.dataProvider = dp;

    the number of columns remains fixed at one. I can only view the FullName and
    not MatriculationYear or Status. I looked through LiveDocs and through the
    actionscript class "List.as" in search of a method that would cause it to
    reevaluate the column count, but have come up dry. Any help would be really
    appreciated...

    Thanks,

    Al McNicoll
    Integritec Ltd

    almcnicoll Guest

  2. Similar Questions and Discussions

    1. Converting a 3 column pdf address list to a one column MS word doc
      I need to convert a 3 col pdf into a manipulable text doc. Acrobat gives me lots of ways to do this in the normal program, but it doesn't preserve...
    2. DataGrid.Column.Count is empty?
      Hello, I have created my own datagrid control, derived from datagrid. Now my webform uses this datagrrd and calls the ItemDataBound method,...
    3. column count
      Thanks in advance. Is it possible to get the column/field count of a subform. I'm trying to get a count of the visible columns in the subform....
    4. Datagrid Column Count HELP
      How do I determine the last column in a datagrid with auto-generated columns. I need to use the column.AddAt method to add a button column to the...
    5. Datagrid column count = 0??
      OK, I'm missing something obvious here... I have a datagrid that I populate in the code-behind page thusly: adptr = new OleDbDataAdapter("SELECT...
  3. #2

    Default Re: Column count for list box won't change

    Answered own question:

    Calling
    listComponent.init();
    seems to work. It hadn't worked before because I was trying to call
    listComponent.dataProvider.init(), which was a stupid mistake to have made!

    almcnicoll Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139