We help IT Professionals succeed at work.
Get Started

cfgrid column record counts.

1,274 Views
Last Modified: 2013-11-11
cfgrid column records count:

I have the following CFGRID with a bind attribute:

<cfform method="get" format="HTML" id="Testlist" name="Testlist" >
       
           
  <cfgrid name="Testlist" striperows="yes" format="html" selectmode="row"  sort="yes"
        selectonload="false"  pagesize="26" height="690"  colheaderbold="yes"
        bind="cfc:cfc.Testlist.get_Testlist({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{testid})"
                           onfocus="" >
        <cfgridcolumn name="TEST_CODE"         width="120" header="TEST Code"             headeralign="left"  display="no"   >
        <cfgridcolumn name="FIRST_NAME"          width="160" header="First Name"       headeralign="left">
        <cfgridcolumn name="LAST_NAME"       width="160" header="Last Name"             headeralign="left">
        <cfgridcolumn name="TEST_1"             width="120" header="Test 1"             headeralign="left">
        <cfgridcolumn name="TEST_2"             width="100" header="Test 2"             headeralign="left">
 
  </cfgrid>  

</cfform>

The CFC call a stored produce to return the result query.

I had the cfgrid display find.

How do I get total result query count, total TEST_1 count and TEST_2 count, and display them on top of the grid?
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE