CFGrid HTML slow in IE

I'm using cfgrid type html inside cflayout. By using bind
attribute, the cfc will return query with max 3 records, but guess
what! This call takes 5 - 8 sec!! This delay occurs only with IE
browser, I have no problem with Firefox browser. Is there solution
for this?

It looks like nobody replied, so I will..
This is a well know bug with cfgrid. I have ran across this
ever since using cfgrid. Currently, there are no solutions to this
bug, and Adobe have no plans on fixing it.

Similar Messages

  • CFGRID HTML named target will not open new window

    I'm finally TRYING to make the move to CF8 and honestly I
    love Cold Fusion but I encounter bug after bug without going crazy
    trying to do things. I'd appreciate any guidance here.
    In this case I am trying to switch over from applet CFGRIDS
    to HTML CFGRIDS. Right off the bat all sorts of issues.
    1) CFGRID HTML target does not work as expected. If you put a
    named window in (e.g. gridpopup) you get an error message that it
    doesn't exist. This is not the way the applet grid works in any
    version including CF8. I don't want to allow someone to keep
    opening up window after window in this case. This is a showstopper
    as I have many cases where I need to do this.
    2) A defined checkbox column displays true and false. Since
    this isn't editable I can probably change it to Yes and No but come
    on. This might be because I'm using a bit field in my Sybase
    database ?????? Not sure if it works or doesn't with other field
    types. Works fine with the applet cfgrid
    3) This one can probably be styled away, I don't want the URL
    columns underlined.

    First, I can't believe no one else is encountering this
    problem
    Here's the fix which allows you to use mixed case target
    names and will also open a non-existent target. Someone was very
    lazy when they coded this.
    Locate the cfgrid.js file e.g. ..//CFIDE/scripts/ajax/package
    Find this chunk of code
    if(_2a3){
    _2a3=_2a3.toLowerCase();
    if(_2a3=="_top"){
    _2a3="top";
    }else{
    if(_2a3=="_parent"){
    _2a3="parent";
    }else{
    if(_2a3=="_self"){
    _2a3=window.name;
    }else{
    if(_2a3=="_blank"){
    window.open(encodeURI(url));
    return;
    if(!parent[_2a3]){
    and replace with this chunk of code
    if(_2a3){
    _2a3_LC=_2a3.toLowerCase();
    if(_2a3_LC=="_top"){
    _2a3="top";
    }else{
    if(_2a3_LC=="_parent"){
    _2a3="parent";
    }else{
    if(_2a3_LC=="_self"){
    _2a3=window.name;
    }else{
    if(_2a3_LC=="_blank"){
    window.open(encodeURI(url));
    return;
    }else{
    if(!parent[_2a3]){
    window.open(encodeURI(url),_2a3);
    return;
    if(!parent[_2a3]){

  • Cfgrid (html) cfwindow and form binding

    Hi All,
    I have a page with 2 cfgrids (html). Select a value in the
    first grid populates the 2nd with appropriate records
    All works as expected.
    I also have a cell renderer on one column that opens a
    cfwindow.
    The cfwindow contains a textarea field (html), it's to big to
    display in the grid.
    All works great except for the initial value of the cfwindow
    form
    In the form I have a hidden field (id) andf the textarea
    field. I have a bind attribute on both of these to get the value.
    Can anyone tell me why the initial value does not work ??
    Ken
    What happened to the "Attach Code" Button ???
    "grid page"
    <cflayout type="vbox" align="center"
    style="height:100%;">
    <cflayoutarea overflow="scroll">
    <cflayout type="vbox" align="center"
    style="height:92%;">
    <cflayoutarea>
    <cfinclude template="inc/nav.htm">
    </cflayoutarea>
    <cflayoutarea>
    <cflayout type="hbox" align="center" padding="5">
    <cflayoutarea align="center" style="width:25%;">
    <cfinclude template="jmoGrid.cfm">
    </cflayoutarea>
    <cflayoutarea align="center" style="width:75%;">
    <cfinclude template="cbGrid.cfm">
    </cflayoutarea>
    </cflayout>
    </cflayoutarea>
    </cflayout>
    </cflayoutarea>
    <cflayoutarea>
    <cf_siteFooter>
    </cflayoutarea>
    </cflayout>
    "grid 1"
    <cfgrid
    name="gridJMO"
    format="html"
    striperows="yes"
    bind="CfC:#Request.comsPath#.jmo.getData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn} ,{cfgridsortdirection},getSearchString())"
    selectMode="row"
    pageSize="14">
    <cfgridcolumn name="Employee_No" header="Emp No"
    width="80">
    <cfgridcolumn name="JMO_Name" header="Name"
    width="150">
    <cfgridcolumn name="id" header="" display="no">
    </cfgrid>
    "grid 2"
    <cfgrid name="dataGrid"
    format="html"
    striperows="yes"
    onchange="CfC:#Request.comsPath#.cbData.saveCB({cfgridaction},{cfgridrow},{cfgridchanged} )"
    bind="CfC:#Request.comsPath#.cbData.getCB({cfgridpage},{cfgridpagesize},{cfgridsortcolumn },{cfgridsortdirection},{gridJMO.ID})"
    selectmode="edit"
    delete="no"
    width="98%"
    pageSize="12">
    <cfgridcolumn name="Approved"
    header="<center>Approve</center>" width="55">
    <cfgridcolumn name="Call_Date"
    header="<center>Date</center>" width="70">
    <cfgridcolumn name="TimeIn" header="<center>Time
    In</center>" width="55">
    <cfgridcolumn name="TimeOut" header="<center>Time
    Out</center>" width="55">
    <cfgridcolumn name="Pt_MRN"
    header="<center>MRN</center>" width="65">
    <cfgridcolumn name="Caller"
    header="<center>Caller</center>" width="185">
    <cfgridcolumn name="Approver"
    header="<center>Approver</center>" width="145">
    <cfgridcolumn name="Details"
    header="<center>Reason</center>" width="55">
    <cfgridcolumn name="OverTime"
    header="<center>OT</center>" width="55">
    <cfgridcolumn name="Reason" header="" display="no">
    <cfgridcolumn name="id" header="" display="no">
    </cfgrid>
    "window form"
    <cfform name="frmUpdate">
    <cfinput type="text" name="ID" bind="{dataGrid.id}">
    <cflayout type="vbox">
    <cflayoutarea>
    <cftextarea name="fld_Message_Detail"
    bind="{dataGrid.Reason}" rows="12" style="width:90%;"/>
    </cflayoutarea>
    <cflayoutarea align="right" style="margin-left:10px;
    width:90%">
    <cfinput type="button" name="bnt_cancel" value="Cancel"
    onClick="hideRecWin('winDetails');">
    <cfinput type="button" name="bnt_submit" value="Save
    Change" onClick="updateReason();">
    </cflayoutarea>
    </cflayout>
    </cfform>

    I found that is style sheet problem , here is my workaround
    solution:
    1.) use text editor open the css file
    (...\CFIDE\scripts\ajax\resources\ext\css\ext-all.css )
    2.) find '.x-grid-dirty-cell' in the file
    3.) copy & paste my style
    /*------------------- >8 -----------------*/
    /* Start of Grid dirty cell problem - Gordon Fixed
    .x-grid-dirty-cell {
    background: transparent
    url(../images/default/grid/dirty.gif) no-repeat 0 0;
    .x-grid-dirty-cell {
    background: transparent
    url(../images/default/grid/dirty.gif) no-repeat 0 0;
    background-color:cornflowerblue;
    .x-grid-row-alt .x-grid-dirty-cell{
    background-color:cornflowerblue;
    /* End of Grid dirty cell problem
    /*------------------- >8 -----------------*/

  • CFGRID is slow with IE

    I'm using cfgrid type html. By using the bind attribute, the
    cfc will return query with max 3 records, but guess what! This call
    takes 5 - 10 sec!! This delay occurs only with IE browser, I have
    no problem with Firefox browser. Is there solution for this?

    It looks like nobody replied, so I will..
    This is a well know bug with cfgrid. I have ran across this
    ever since using cfgrid. Currently, there are no solutions to this
    bug, and Adobe have no plans on fixing it.

  • CFGRID (html) column a href issue

    Hello All,
    I am using the new cf8 html cfgrid. My Grid column is as
    follows:
    <cfgrid name = "NewReports" format="html" height="170"
    width="780" pageSize=5 sort=true>
    <cfgridcolumn width="160" name = "VIEWREPORT"
    header="Report" href="ViewReport.cfm?status=new"
    hrefkey="REP_REPORT_ID" target="_blank">
    </cfgrid>
    on the rows that do not have data (example if the query
    returns only 1 row.. there are 4 blank rows on the grid for page 1)
    the viewreports column shows a link. How do I go about not showing
    this link for blank rows? This was never an issue for flash grids,
    it seems that this is only appearing in html grids.
    Thanks
    Anusha
    Anusha

    it's not strange at all. your href is not inside a cfloop or
    cfoutput,
    so any reference to a query column will reference the first
    row only.
    one thing you can do is add a column that contains the full
    href text to
    your query, i.e.:
    SELECT categoryID, categoryName, CONCAT('/l/listing/tag/',
    categoryName,
    '.html') AS hreflink
    FROM...
    the above syntax is for MySQL, but your db will have its own
    CONCAT()
    function equivalent.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • Cfgrid html values/valuesdisplay no longer displaying after update

    Our current system is CF8 (8.0.1 with latest cumulative update 4), MS SQL server. The cumulative update was installed last week and I just discovered that the HTML cfgrids that we use no longer function correctly. All the cfgridcolumns that use values="some values" valuesdisplay=" some values" no longer display more than the initial value set (one value when dropdown appears). These cfgrids work on our development server which was also updated with latest cumulative update as well. I have tried deleting the update, installing the patch for cfgrid error, re-installing the cumulative update, overwriting the ext and css files with our development files. Nothing has corrected the issue.
    hot fix tried:
    "HTML grids may display improperly in coldfusion 8.0.1 with drop-downs not displaying all items (ID 71630)."
    example:
    <cfform name="makeAdmin" format="html"  style="z-index: 300003; font-size:12px;" timeout="60" method="post" height="700" width="900">
    <cfinput type="hidden" value="TRUE" name="btnSubmit">
    <cfinput type="hidden" name="edit" value="true" />    
                   <cfgrid name="makeGrid" format="html" style="z-index: 300003;"  query="makeQuery" rowheaders="no" width="270" height="500" insert="yes" insertbutton="Insert New Row" deletebutton="Delete Row" delete="yes" selectmode="edit" colheaderbold="yes">
                    <cfgridcolumn name="makeID"
                        header="rowID"
                        width="0"
                        headeralign="center"
                        headerbold="Yes"
                        select="no"
                        display="no"
                        >
                    <cfgridcolumn name="make"
                        header="Make"
                        width="150"
                        headeralign="center"
                        headerbold="Yes"
                        select="yes"
                        display="yes"
                        >
                    <cfgridcolumn name="active"
                        header="Active"
                        width="100"
                        headeralign="center"
                        headerbold="Yes"
                        select="yes"
                        display="yes"
                        values="True,False"
                        >
                  </cfgrid>
      <cfinput align="middle" name="submitButton" value="Commit Updates" type="submit">
    </cfform>
    All the 'active' column dropdown displays is the value returned from the query.
    This occurs on cfgrids that are bound to cfc's or grids with query="" . The value displayed in dropdown is the one returned from query, the rest of list does not display.
    Can anyone help me? What folders/files control the html cfgrid?

    Thank you for the response, I didn't see that there was a newer hotfix released afterwards that I hadn't tried. Unfortunately since I didn't have time to wait for a solution I was forced to change my code and remove the inline updateable grids. I'm not sure I trust them enough now to try again later, but if the occassion arises I may attempt again.

  • CFGRID HTML AJAX doesn't work in IE5.5

    It would seem there is a problem using an editable grid in
    IE5.5. If you use dropdowns as part of your editable HTML AJAX
    CFGRID.
    To reproduce make a grid and set it as editable.
    Set the values and valuesdisplay attributes on a gridcolumn
    and make the column selectable.
    Now try and view the grid in IE 5.5.
    You just get the dropdown for the slectable columna and a
    Javascript error. LIne 26 char 288 Object doesn't suport this
    property or method.
    Stop the column being Selectable and its fine.
    Make the column selectable but remove the values and
    valusdisplay attributes and its also fine for editing.
    Sounds like a bug to me.
    If anyone has any idea how to fix this. I'm guessing its
    buried in one of the many Javscript files that are loaded when
    using AJAX controls then I'd be very grateful.
    many thanks
    Steve

    In which system (DEV, QA or PROD) are your trying to extract the delta. Have you checked if any transactions have been posted in the source system.
    Regards

  • RoboHelp HTML slow

    I am working on a RoboHelp project using v7. The output is
    quite fast when I access the Webhelp from my local folder. But when
    I place it in the central repository and access it from that
    sharepoint, it takes 5 to 6 seconds to open each topic. The
    performance is very slow. The project contains only a few image
    files.
    Can anyone tell me the reason why it is slow and how I can
    solve this issue?
    Thank you
    anu

    Thank you for your suggestion. I tried that option but I
    didn't find much of a difference. May be I need to check with the
    Help Desk here to find out if others have problems accessing files
    from the server.
    Thank you.
    anu

  • JEditorPane + HTML = slow?

    Hi,
    I am trying to view HTML in my app in a JEditorPane. Everythings works fine except that it goes very slowly. My app generates HTML as a string that is about 65 kB in size. Then when the JEditorPane is going to display the HTML string it takes a very long time, maybe 3 seconds for each page (my computer has 2 CPUs 2.8 GHz and 2 GB RAM).
    Anybody else with similay problems?

    I wouldn't expect any JEditorPane support for HTML4 or XHTML any time soon. This bug report for example has been "in progress" for more than five years now!
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4296022
    I can not find any evidence that there is any new support in Mustang:
    http://www.java.net/download/jdk6/doc/api/

  • CFGRID(html): editing problems

    When using the html grid, to edit data, specifically the
    dropdown editor - once the editing is complete, the value displayed
    in the grid is the value and not the display value.
    For example, if the following line is selected - <option
    value="5">Five</option> - the 5 would be displayed and not
    the Five.
    Does anyone else experience this, and is this normal
    behaviour?
    many thanks
    Mat Evans

    Not really. You can split the clip wherever you need to create a new 'scene,' and then split it again to isolate the 60 second clip. If you just want those and not the other parts of the movie, delete the rest or move it to the clips pane and leave the wanted clips in the timeline. It is not that hard to play through 8 minutes and make these clips....sometimes I have had to watch a lot longer clip to find the part I wanted!
    If you are going to create a DVD of this movie and you will use the whole 8 minutes, but just want to mark the 'scenes,' then create chapter markers at the beginning of each scene, and iDVD will create those scene selections for you.

  • CFGRID HTML is there any way to change the style??

    Is there anyway to change the appearance of the cfgrid or is what you see is what you get?

    Is there anyway to change the appearance of the cfgrid or is what you see is what you get?

  • Displaying a BLOB image inside a CFGRID

    Is there a way to display an image stored as a BLOB inside my DB in a bound CFGRID (HTML formatted)?  My grid is bound to a cfc function that returns ten rows at a time. I had originally returned an img tag to my image column to display the photos, but I'm trying to migrate from storing images on the server file system to storing them as BLOBs in my DB.  I can retrieve the BLOB without any problems, but how do I return images to my CFGRID?  I really don't want to have to write them to the file system to do this as it would be counter productive.

    Hi, i got a trouble to display the image in BLOB
    i have win2k3, oracle 10.2 g, php 5Which version of PHP 5? Some LOB handling got broken and fixed along the way.
    Try the latest DLL from http://pecl4win.php.net/ext.php/php_oci8.dll
    -- cj

  • CFGRID and tbar.addButton

    I've come across two promising tutorials
    http://www.anujgakhar.com/2008/03/18/crud-with-cfgrid-html-format/
    CRUD with cfgrid html format
    which refers to Dan Vega's posts
    http://www.danvega.org/blog/index.cfm/2008/3/5/ColdFusion-8-Grid-Custom-Toolbars
    ColdFusion 8 Grid Custom Toolbars
    both of which I have consulted and tried their code. In neither case does the toolbar appear.
    I have the correct path in CF 9 to the toolbar.js
    <script type="text/javascript" src="/CFIDE/scripts/ajax/ext/source/widgets/Toolbar.js"></script>
    and their code
    function init(){
            grid = ColdFusion.Grid.getGridObject("ArtistGrid");
            var gridFoot = grid.getView().getFooterPanel(true);
            var gridHead = grid.getView().getHeaderPanel(true);
            var bbar = new Ext.Toolbar(gridFoot);
            var tbar = new Ext.Toolbar(gridHead);
            bbar.add(new Ext.Toolbar.TextItem('Total Artists: ' + grid.getDataSource().totalLength));
            tbar.addButton({
             text:"Add New Artist",
             cls:"x-btn-text-icon",
             icon:"add.png",
             handler:onAdd
            tbar.addSeparator()
            tbar.addButton({
             text:"Delete Artist",
             cls:"x-btn-text-icon",
             icon:"delete.png",
             handler:onDelete
            console.log(tbar);
            console.log(bbar);
    function onAdd(button,event){
    alert("Row Added");
    console.log(button);
    console.log(event);
    I've tried this on three different CF 9 Servers, and the tabs do not appear.
    Now these posts are a few years old by now and refer to CF 8. It looks as though CF 9 doesn't support the toolbar. Is this correct?
    And if so, is there some replacement for it?
    The CFGRID looks really great, and I did get it to sort and actually edit rows(though I'm not sure how I did that), but not delete
    or insert. If I could get the full functionality to work, this could be very valuable.

    you were right.. It was the CFIDE folder which was missing
    from the mapping, now the mapping, for now just to get through my
    development I have uploaded the CFIDE folder into my host.. now
    it's working.. for the mapping part I was reading.. all points that
    I have to define a virtual folder mapping on the Apache server,
    well little complex process. hope there is a easy way out from
    that.. since less control I have over the server settings..
    :)

  • CFGRID posting data to action page

    Is there a way to get an HTML CFGRID to post all its rows to
    an action page rather than just the selected row?

    Sheilia : Read this blog for Ben. Hope will help.
    http://www.forta.com/blog/index.cfm/2007/6/25/ColdFusion-Ajax-Tutorial-6-Editable-Data-Gri ds
    aaronmartinez : I believe there is away to do that, have ever
    tried to apply same example for JAVA GRID in CF documentation to
    CFGRID HTML?

  • Dynamically load content into a "template" swf from text file

    I have a dream....
    Well, I have a concept. I have not actively pursued Flash in
    several years, though I've continued to have it in my arsenal. I've
    not done much in the action scripting realm for a while though.
    I am trying to create a template that will be used for about
    100 different product pages.
    It would have two tabs, basically, 2 different graphical
    button sets. One will have up to 4 links to similar products, each
    tab will be on the side of a square, and I need the ability to not
    display a tab if there is no actual link.
    As for the other tab, Its a menu that consists of a series of
    lines. This can be an external menu, I just need a way to have
    flash load the right menu. This menu, when you mouse over a line,
    the name of the product appears, as well as a product image that
    gets loaded with the menu. The product images would be external,
    allowing me to simply replace an image if a new higher end version
    of the product comes out.
    So, I am totally not an actionscripter. Looks like I need to
    load variables from an external file. Can I set a property in the
    flash code on the html that tells the movie what dataset to grab
    from?
    Here's basically what I am looking for
    property: value
    (load variables for:)
    item: 44
    (menu1)
    faster: 54b.html
    slower: 34d.html
    left: 43d.html
    right: 45c.html
    (menu2)
    menu:graph5.swf
    (menu loads images from external source)
    link51: 51d.html
    link52: 52c.html
    link53: 53c.html
    link54: 54d.html
    link55: 55b.html
    link56: 56d.html
    A possible third menu would be text driven, and would use
    html to link to various items.
    This is a static site, so urls will be fixed.
    Is it best to build a php page that serves up data for a
    single item, or do one big text file with all 100 or so items? Is
    that even possible?
    My Flash since MX is very rusty. I am using Flash Pro8. I
    would love to create a single file so modifications are to the text
    files, unless a new item is released, then it's updating a single
    flash menu and updating the text file.
    Been spending way too much time in InDesign lately! I used to
    be pretty good at Flash!

    well sorry there fanmap - but I don't think you're going to
    be able to get this to work. here's why: the link points to a php
    file - which gathers dynamic info from a DB - the return from the
    php is generating a string that is based on the DOM and
    'constructs' a javascript method that in turn writes to the html
    document. although we can embed html into a textField in Flash
    there are a limited number of supported html tags - and JS methods
    will not operate internally. in addition, (i'm not certain someone
    correct this if i'm off) there's no way to 'change' the output of
    the php call, therefore you will not be able to read the return
    because it is designed to use the DOM and write solely to the
    current document. Even if you were to access the JS method from the
    swf file (which one can) it will still only write the content of
    the php return to the html document - and the output is not
    compatible with the textField class.

Maybe you are looking for

  • Cannot copy file from backup DVD to HD folder

    Whenever I finish a project, I had burn the various files (movie, text, pictures, pages, etc.) onto DVDs to free up hard disk space for present projects. Usually, I would use a disk image to burn those DVDs. Recently, I needed material from those DVD

  • Generating Accruals from Service type Goods Receipt PO's

    I have identified that Service type Goods Receipt PO's do not write to the G/L, but a.) I don't understand why they don't and b.) how does one create system generated accruals if not by Goods Receipt PO?  I am sure this question has been asked before

  • Timestamp displaying in form

    Hi, Is anyone aware of a workaround I can use to display a timestamp column from a table on a form? I am wanting it to display as "text field disabled does not save state) so that it displays and is read only... I've tried setting the "item source" f

  • Accidental sync

    If I accidently sync  my new iphone 4s to a wrong apple id can i reset it and start over?

  • What does the code mean? not the security code the other one?

    im siging up for the Apple ID and I'm doing my visa card and it's telling me something about a code for iTunes? I dont know how I get the code, or its on my card?