cfgrid and comma problem!

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default cfgrid and comma problem!

    Hello,
    this is my code
    hello cedric !!

    <cfgrid name="test_grid" selectmode="single">
    <cfgridcolumn name="remarques" header="Transaction No">
    <cfgridcolumn name="datetime_prequal" header="Date">
    <cfloop query="test">
    <cfgridrow data="#remarque#,#dateformat(datetime_prequal,'mm/dd/yyyy')#>
    </cfloop>
    </cfgrid>

    My big problem is :
    if i tape one comma in the remarque zone, my cfgrid is not correct because i
    use the comma in the cfgridrow.

    Please help.
    thank's cedric


    cedlannoy Guest

  2. Similar Questions and Discussions

    1. CFGRID in ACCORDION Problem
      I am attempting to display a CFGRID on pages of an ACCORDION. The following code builds the ACCORDION pages properly but does not display the GRID....
    2. Problem with javascript for < CFGRID>
      I have a <cfgrid> thing that used to work in Coldfusion 4.5/Win NT. HAve recently moved to Coldfusion MX 6.1/Win 2003. Now all it gives me is a...
    3. CFGrid Problem
      Hello, I am using Coldfusion 7.01 and am having difficulty using the cfgrid to perform an insert. I have a sql table that requires two fields...
    4. CFGRID Cell Editing Problem
      When I use a grid similar to the one attached, I can add the first 3 rows in the manner I would expect (i.e. click 'Add', click on 1st column in new...
    5. comma delimited list problem
      I have a comma delimited list that is loaded into flash using loadvars. How can I convert it into an array? thanks in advance. Shaun
  3. #2

    Default Re: cfgrid and comma problem!

    cedric,

    Try

    <cfgridrow data=#remarque#&","&#dateformat(datetime_prequal,' mm/dd/yyyy')#>

    Or maybe you were just missing that closing quote for the data attribute.

    HTH,
    philh 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