cfgrid with Ajax question...

2008-08-02 Thread Tom Jones
Hello,
I have just started to play with Coldfusion 8 and I really like the  
Ajax integration. I have been following some the guide info on how to  
use it and I have a question. I have the following code here that  
allows me to edit in place, which is really cool, but I would like to  
have the first column be a link to the full client record and also not  
editable.

Is it possible to make the first column a link and non-editable?

thanks,
tom


cfform name=form02
 cfgrid format=html name=grid02 pagesize=10 sort=true  
bind=cfc:places.getClients({cfgridpage},{cfgridpagesize},
 {cfgridsortcolumn},{cfgridsortdirection})
delete=yes selectmode=edit
 onchange=cfc:places.editData({cfgridaction},{cfgridrow}, 
{cfgridchanged})  

 cfgridcolumn name=rid display=true header=id href=/ 
client.cfm/
 cfgridcolumn name=FirstName1 display=true header=First  
Name1/
 cfgridcolumn name=LastName1 display=true header=Last  
Name1 /
 /cfgrid
/cfform

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310100
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid with Ajax question...

2008-08-02 Thread Tom Jones
Nevermind, I just figured it out, by adding (select=no) to the  
cfgridcolumn that did the trick.

tom

On Aug 2, 2008, at 5:21 PM, Tom Jones wrote:

 Hello,
 I have just started to play with Coldfusion 8 and I really like the
 Ajax integration. I have been following some the guide info on how to
 use it and I have a question. I have the following code here that
 allows me to edit in place, which is really cool, but I would like to
 have the first column be a link to the full client record and also not
 editable.

 Is it possible to make the first column a link and non-editable?

 thanks,
 tom


 cfform name=form02
 cfgrid format=html name=grid02 pagesize=10 sort=true
 bind=cfc:places.getClients({cfgridpage},{cfgridpagesize},
 {cfgridsortcolumn},{cfgridsortdirection})
   delete=yes selectmode=edit
 onchange=cfc:places.editData({cfgridaction},{cfgridrow},
 {cfgridchanged})  
   
 cfgridcolumn name=rid display=true header=id href=/
 client.cfm/
 cfgridcolumn name=FirstName1 display=true header=First
 Name1/
 cfgridcolumn name=LastName1 display=true header=Last
 Name1 /
 /cfgrid
 /cfform

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310101
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4