Hi,
I have the serach form with three fields: category (dropdown), enterdate(text) and lname (text). the results is displayed from the cfgrid on the same page of the form. I don't want the column catgory shows on the cfgrid unless i select it from the dopdown box. i try the code below but it didnt work, can you help?
Thanks
<cfform name="gridform">
<cfgrid name="mygrid"
format ="html"
title="Results"
selectedMode="single"
pagesize ="10"
bind ="cfc:myacc.report.search({cfgridpage},{cfgridpagesize},{cfgridsortco lumn},{cfgridsortdirection},
{cat_id},{enter_date},{l_name})"
<cfif form.cat_id neq "">
<cfgridcolumn name=cat_id" header="Category" />
</cfif>
<cfgridcolumn name="enter_date" header="Created Date" />
<cfgridcolumn name="l_name" header ="Last Name" />
</cfgrid>
</cfform>
North America
Europe, Middle East and Africa
Asia Pacific