ColdFusion 9.0 Resources |
ColdFusion.Grid.sortDescriptionSorts the specified HTML grid. Function syntaxColdFusion.Grid.sort(name [, columnName, direction]) See alsocfgrid, ColdFusion.Grid.getGridObject, ColdFusion.Grid.refresh, Ext JS - JavaScript Library Documentation, Using HTML grids in the Developing ColdFusion Applications HistoryColdFusion 8: Added this function Parameters
ReturnsThis function does not return a value. UsageThis function sorts the data displayed by the grid by using a case-insensitive sort for string data, or a numeric sort for numeric data. It uses the specified column contents to determine the displayed grid order. When a grid has a remote data source, the bound CFC function that provides the data gets the column name and sort direction in the cfgridsortcolumn and cfgridsortdirection bind attributes. The CFC function must use these values and perform the sort appropriately. |