cfgrid type="xml" not working... or using correctly?

Posted on 2007-04-04
Medium Priority
Last Modified: 2013-12-24

I cannot get this to work.  I am using Coldfusion 7.0. Any ideas?

<cfquery name="obtain" datasource="esp">
SELECT #form.querystructure#
FROM tbl_pav2


<cfgrid format="xml" query="obtain" name="obtain" width="100%" height="700" >
Question by:esphelpdesk
  • 3

Author Comment

ID: 18851519
The query has data in it, and works perfectly when I use the applet or the flash format.  Is this a bug in the application?  This is the source code that is returning:


<script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>
<script type="text/javascript">
function _CF_checkCFForm_1(_CF_this)
//reset on submit
_CF_error_exists = false;
_CF_error_messages = new Array();
_CF_error_fields = new Object();
_CF_FirstErrorField = null;

//display error messages and return success
if( _CF_error_exists )
if( _CF_error_messages.length > 0 )
// show alert() message
// set focus to first form error, if the field supports js focus().
if( _CF_this[_CF_FirstErrorField].type == "text" )
{ _CF_this[_CF_FirstErrorField].focus(); }

return false;
}else {
return true;

<form name="CFForm_1" action="/reports/rpt_PAV_select_p2.cfm" method="post" onsubmit="return _CF_checkCFForm_1(this)">

<div><input type="hidden" name="__CFGRID__CFForm_1__obtain" value="" /></div>

LVL 36

Accepted Solution

SidFishes earned 1000 total points
ID: 18852828
not sure but i think you must specify xml as the format for your cfform as well


Author Comment

ID: 18859802
No... that isn't it.  I am thinking the tag doesn't work.  I am looking for a confirmation on this.

Author Comment

ID: 19315705
I wish to close this ticket.

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
In the video, one can understand the process of resizing images in single or bulk. Kernel Bulk Image Resizer is an easy to use tool for resizing large number of images. One can add and resize multiple images with this tool in single go. The video sh…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question