Hi All,

I have a grid as follows. Everything (the insert and
delete are working). But for some reason which I could
not understand, the update sort buttons are not
working. Can someone tell me where I am going wrong?
Nither 'Sort ASC' is working nor 'Sort DESC' button is
working? I am stuck and an urgent reply would be
highly appreciated.

Appreciate.
A.B.

Here is the code:
****************

<cfquery name="GetProducts"
datasource=#MyDatasource#">
  select productid, value,contact,contactphone
  from   productsTable
</cfquery>

<cfform action="Test.cfm" METHOD="POST"
ENABLECAB="Yes">
<cfgrid name="ProductGrid"
        width="350"
        query="GetProducts"
        insert="Yes"
        delete="no"
        sort="Yes"
        font="Tahoma"
        bold="No"
        italic="No"
        appendkey="No"
        highlighthref="No"
        griddataalign="LEFT"
        gridlines="Yes"
        rowheaders="Yes"
        rowheaderalign="LEFT"
        rowheaderitalic="No"
        rowheaderbold="No"
        colheaders="Yes"
        colheaderalign="LEFT"
        colheaderitalic="No"
        colheaderbold="No"
        selectcolor="Red"
        selectmode="EDIT"
        picturebar="No"
        insertbutton="To insert"
        deletebutton="To delete"
        sortascendingbutton="Sort ASC"
        sortdescendingbutton="Sort DESC">
<cfgridcolumn name="productid" header="Product ID">
<cfgridcolumn name="value" header="Value">
<cfgridcolumn name="contact" header="Contact">
<cfgridcolumn name="contactphone" header="Contact
Phone">
<CFLOOP query="GetProducts">
   <CFGRIDROW DATA="#productid#, 
#value#,#contact#,#contactphone#">
                </CFLOOP>

</CFGRID>

<INPUT TYPE="Submit" NAME="submit" VALUE="Apply
Changes">

</cfform>
 



__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to