Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfgrid header sorting

Status
Not open for further replies.

ktmrocks

Programmer
Apr 7, 2011
1
US
Hi,

How can I set cfgrid header (table header) not to be clickable by user? Right now - cfgrid allowing user to sort columns and even letting user to view the columns with display property set to false (e.g, the phone number column below). I want to disable both functionalities.


<cfgrid name="usersgrid" pagesize="5" format="html" width="100%" height="200"
bind="cfc:Users.getUsers({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{filtercolumn},{filter})">

<cfgridcolumn name="FirstName" header="First Name">
<cfgridcolumn name="LastName" header="Last Name">
<cfgridcolumn name="UserName" header="User Name">
<cfgridcolumn name="DisplayName" header="Display Name">
<cfgridcolumn name="UserAccountingCode" header="GL Code (User)" display="false">
<cfgridcolumn name="Phone" header="Phone No." display="false">

</cfgrid>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top