Hi All, I am using a cfgrid flash type.
<cfgrid name="batchType"
height=200
width=410
vspace="10"
selectmode="edit"
query="GetAdjustmentBatchTypes"
insert="Yes"
insertbutton="Add New Type"
delete="yes"
onchange="check_batch_state()">
<cfformitem type="script">
function check_batch_state(){
if(batchType.dataProvider[batchType.selectedIndex]['Adjustment_Batch_Typ
e']='IND'){
I NEED TO DISABLE THE DELETE BUTTON
IF THIS ROW IS SELECTED
}
}
</cfformitem>
I want to be able to disable the 'delete' button via script, if the user
selects a certain row. Any idea how I can reference the delete button
since it is auto generated by cfgrid when you set 'delete=yes'?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225889
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54