%26lt;cfgrid name=''CompQry'' format=''html'' pagesize=''10''
striperows=''yes'' height=''320'' width=''580'' font=''Verdana, Arial,
Helvetica, sans-serif'' fontsize=''12'' align=''left''
bind=''cfc:/components/tsiadmin.getCompanies({cfgridpage},{cfgridpagesize},{cfgr idsortcolumn},{cfgridsortdirection},#cname#)''
selectmode=''row'' selectonload=''true''%26gt;
%26lt;cfgridcolumn name=''CompanyRecordNumber'' header=''Comp
Number'' select=''yes'' %26gt;
%26lt;cfgridcolumn name=''Name'' header=''Name''%26gt;
%26lt;cfgridcolumn name=''City'' header=''City''%26gt;
%26lt;cfgridcolumn name=''State'' header=''State''%26gt;
%26lt;/cfgrid%26gt;
And I need to bind the selected row to another grid;
%26lt;cfgrid name=''IndivQry'' format=''html'' pagesize=''10''
striperows=''yes'' height=''320'' width=''580'' font=''Verdana, Arial,
Helvetica, sans-serif'' fontsize=''12'' align=''left'' bind=''''
selectmode=''row'' selectonload=''true''%26gt;
%26lt;cfgridcolumn name=''IndividualRecordNumber'' header=''Indiv
Number'' select=''yes'' %26gt;
%26lt;cfgridcolumn name=''FirstName'' header=''First Name''%26gt;
%26lt;cfgridcolumn name=''LastName'' header=''Last Name''%26gt;
%26lt;/cfgrid
The first grid is a list of companies and the secord grid is
supposed to be a list of everyone at the selected company. I can
see that I have a chunk of code missing. I just don't see how I can
bind to a cfc on the second grid that will returen a query based on
the selected row of the first grid.
bind cfgrid to another cfgrid
larksys wrote:
%26gt; I just don't see how I can bind to a cfc on the second
grid that will
%26gt; returen a query based on the selected row of the first
grid.
%26gt;
%26gt;
%26gt;
see if this helps:
http://www.coldfusionjedi.com/index.cfm/2007/8/9/Reacting-to-grid-row-selection
--
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
bind cfgrid to another cfgrid
Tremendous help. Thanks.
No comments:
Post a Comment