Dynamic Drop-down inside CFGRID

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

  1. #1

    Default Dynamic Drop-down inside CFGRID

    I've been searching for days and days trying to find an example. What I'm
    looking to do is use a CFGRID to edit some basic values.

    In the CFGRID though, for one of the editable items, I need to have a dynamic
    drop-down. Is that possible and how?

    mikeap Guest

  2. Similar Questions and Discussions

    1. Dynamic row color in cfgrid type=flash
      I have a flash cfgrid where the values are coming from a database. When rendering the values in the grid, is it possible to change the color of a...
    2. Dynamic CFGrid
      Hello, I'm trying to create a form that allows the user to select a date range (Start and End Date). Then populate the data in a CFGrid based on...
    3. dynamic drop downlists in an editable dynamic datagrid.
      How would we address a situation where we have to put dynamic drop downlists in an editable dynamic datagrid. So the scenario is to populate a...
    4. Drop down boxes in CFGrid using cfgridcolumn
      Hi, Has anyone had problems with drop down boxes displaying in cfgrid using cfgridcolumn as follows: <cfgridcolumn name="Location"...
    5. Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl
      Hello Dear Professionals: Based on this document:...
  3. #2

    Default Re: Dynamic Drop-down inside CFGRID

    Yes you can do this. But only with the appelet version NO flash.
    GeorgeWS Guest

  4. #3

    Default Re: Dynamic Drop-down inside CFGRID

    I know with the APPLET I can then use the VALUE attributes but I could not
    figure out how to dynamically load the values. It would show one but not
    repeat. Do I need to put the repeat code in the value tag?

    mikeap Guest

  5. #4

    Default Re: Dynamic Drop-down inside CFGRID

    I use the cfgridcolumn Values="#ValueList(DBNAME.FIELD1)#" I was stumped on the
    ValueList part for a long time. Oh yeah I also did this...

    <cfset Space = "None,">
    then did this...

    cfgridcolumn Values="#space##ValueList(DBNAME.FIELD1)#"

    this made a selection of none.

    hope this helps

    GeorgeWS Guest

  6. #5

    Default Re: Dynamic Drop-down inside CFGRID

    Now another problem ... hmm ... because I have commas in my field, it treats
    that as a delimiter and it's not. So I have company names with ", .Inc" so I
    have ".Inc" as items.

    When I put a delimiter on the tag, it then doesn't put each item on it's own
    line.

    Any ideas?

    mikeap Guest

  7. #6

    Default Re: Dynamic Drop-down inside CFGRID

    I tried using a REPLACE and that didn't work ..
    mikeap Guest

  8. #7

    Default Re: Dynamic Drop-down inside CFGRID

    Maybe try the ListChangeDelims thing., I use it in a program where I turn ,'
    into '', and it works great (maybe change the comma to a space). go to the
    livedocs.macromedia.com for expanation. I think you should just limit the
    selection to stuff the does not have a comma; (very bad in data). I do
    experience this though and chalk it up as inproper data input. I have been
    building so thats not going. No commas in the data entry part.

    GeorgeWS 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