Skip to main content
January 29, 2015
Question

Java Based CFGRID Problem

  • January 29, 2015
  • 1 reply
  • 450 views

I have CFGRID that is using the "APPLET" format and the results are returned and show on the screen just fine. However, when I click a cell to edit, the content of the cell disappears and will re-appear once I start typing. In addition I cannot select the contents of a cell to copy the contents.  I am not sure if these two behaviors are related or not but it is driving me crazy.

Any help would be greatly appreciated. Code is as follows..

<CFGRID NAME = "MyGrid

        HEIGHT=400

        WIDTH=500

        HSPACE=0

       VSPACE=0

        ALIGN="ABSMIDDLE"

        SELECTCOLOR="white"

        SELECTMODE="edit"

        ROWHEADERS="YES"

        ROWHEADERWIDTH=50

        ROWHEADERALIGN="right"

        COLHEADERS="YES"

        QUERY="Sortdata"

        GRIDDATAALIGN="left"

        BGCOLOR="white"

        INSERT="NO"

        DELETE="NO"

        SORT="YES"

        MAXROWS=500>

<CFGRIDCOLUMN NAME="SC1"

            HEADER="SC1"

            WIDTH=50

            ITALIC="NO"

            HEADERALIGN="center"

            HEADERITALIC="NO"

            HEADERBOLD="YES"

            TYPE="NUMERIC"

            NumberFormat="9999.9"

            DISPLAY="YES"

            SELECT="YES">

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
February 1, 2015

What is your ColdFusion version? In any case, you should report it as a bug. A possible workaround is to double-click in the cell.

February 2, 2015

The current version information is listed below

It is running on a Windows server 2008 R2 box

productlevel

Enterprise

productname

ColdFusion Server

productversion

10,0,14,291717

BKBK
Community Expert
Community Expert
February 2, 2015

I have been able to reproduce the behaviour in ColdFusion 10 and 11. It is strange, and I do believe it is a bug. Please report it.